mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-11-01 02:15:12 +00:00
Hide connection upgrades
This commit is contained in:
1 parent
ca6f735ff3
commit
94e5558922
1 file changed
+2
-2
+2
-2
@@ -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;";
|
||||
|
||||
Reference in new issue
Block a user