Remove recommended headers

This commit is contained in:
Grigory Shipunov 2023-01-24 22:31:38 +01:00
parent 3dbfe64f53
commit 1ffc6272d4
Signed by: 0xa
GPG key ID: 91FA5E5BF9AA901C

View file

@ -45,15 +45,6 @@
locations = { locations = {
"/" = { "/" = {
proxyPass = "http://10.34.45.101:4533"; proxyPass = "http://10.34.45.101:4533";
extraConfig = ''
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Protocol $scheme;
proxy_set_header X-Forwarded-Host $http_host;
proxy_buffering off;
'';
}; };
}; };
}; };