ingress-proxy: fix

This commit is contained in:
41666 2023-12-30 18:28:07 -05:00
parent f3e0bf7e46
commit f77133e5ab

View file

@ -58,11 +58,11 @@ in {
locations."/" = { locations."/" = {
proxyPass = "http://hsb"; proxyPass = "http://hsb";
proxyWebsockets = true; proxyWebsockets = true;
extraConfig = '' #extraConfig = ''
proxy_set_header Host "happ.ystatic.buzz"; # proxy_set_header Host "happ.ystatic.buzz";
proxy_set_header X-Forwarded-For $remote_addr; # proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme; # proxy_set_header X-Forwarded-Proto $scheme;
''; #'';
}; };
extraConfig = '' extraConfig = ''
client_max_body_size 40M; client_max_body_size 40M;