[zineshop] update proxypass
All checks were successful
Check flake syntax / flake-check (push) Successful in 6m16s
All checks were successful
Check flake syntax / flake-check (push) Successful in 6m16s
This commit is contained in:
@@ -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;
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
@@ -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
|
||||
'';
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user