set proxy settings to false in attempt to remove double host headers

This commit is contained in:
Yisroel Baum 2026-06-03 20:57:28 +03:00
parent d54bba4c59
commit 2107cc6aef
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9

View file

@ -39,9 +39,8 @@
locations = { locations = {
"/" = { "/" = {
proxyPass = "http://127.0.0.1:3000"; proxyPass = "http://127.0.0.1:3000";
recommendedProxySettings = false;
extraConfig = '' extraConfig = ''
proxy_set_header Connection $http_connection;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;