[zineshop] update proxypass
All checks were successful
Check flake syntax / flake-check (push) Successful in 6m16s

This commit is contained in:
2025-04-14 15:15:41 +02:00
parent 9c69f663ee
commit 46849ff517
2 changed files with 8 additions and 1 deletions

View File

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

View File

@@ -72,6 +72,9 @@ 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
'';
};