[zineshop] acutally remove header pass

This commit is contained in:
2025-04-14 21:28:16 +02:00
parent 94e05d99a4
commit 3991435cf3
2 changed files with 0 additions and 11 deletions

View File

@@ -80,12 +80,6 @@ in
locations."/" = {
proxyPass = "http://10.0.0.10";
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 Authorization $http_authorization; # Pass the Authorization header
proxy_pass_header Authorization;
'';
};
};

View File

@@ -72,11 +72,6 @@ with lib;
proxyPass = "http://10.100.0.101";
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 Authorization $http_authorization; # Pass the Authorization header
proxy_pass_header Authorization;
'';
};
};