No http2 on onion pleroma site

This commit is contained in:
Bob Mottram 2018-04-18 15:37:14 +01:00
parent 868fa70484
commit 9b2ac0e151
1 changed files with 1 additions and 1 deletions

View File

@ -1111,7 +1111,7 @@ function install_pleroma {
echo '' >> "$pleroma_nginx_site" echo '' >> "$pleroma_nginx_site"
fi fi
{ echo 'server {'; { echo 'server {';
echo " listen 127.0.0.1:$PLEROMA_ONION_PORT default_server http2;"; echo " listen 127.0.0.1:$PLEROMA_ONION_PORT default_server;";
echo " server_name $PLEROMA_ONION_HOSTNAME;"; echo " server_name $PLEROMA_ONION_HOSTNAME;";
echo ''; } >> "$pleroma_nginx_site" echo ''; } >> "$pleroma_nginx_site"
function_check nginx_security_options function_check nginx_security_options