Hide connection upgrades

This commit is contained in:
bashrc committed 2020-06-19 20:48:47 +01:00
1 parent ca6f735ff3
commit 94e5558922
1 file changed
+2 -2
+2 -2
View File
@@ -254,8 +254,8 @@ echo "Creating nginx virtual host for ${ONION_DOMAIN}"
echo ' location / {';
echo ' proxy_http_version 1.1;';
echo ' client_max_body_size 31M;';
echo " proxy_set_header Upgrade \$http_upgrade;";
echo ' proxy_set_header Connection "upgrade";';
echo " proxy_hide_header Upgrade;";
echo ' proxy_hide_header Connection;';
echo " proxy_set_header Host \$http_host;";
echo " proxy_set_header X-Real-IP \$remote_addr;";
echo " proxy_set_header X-Forward-For \$proxy_add_x_forwarded_for;";