forked from kalipso/infrastructure
[zineshop] proxypass auth header
This commit is contained in:
@@ -80,6 +80,7 @@ in
|
||||
locations."/" = {
|
||||
proxyPass = "http://10.0.0.10";
|
||||
extraConfig = ''
|
||||
proxy_set_header Authorization $http_authorization; # Pass the Authorization header
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
@@ -72,6 +72,7 @@ with lib;
|
||||
proxyPass = "http://10.100.0.101";
|
||||
extraConfig = ''
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header Authorization $http_authorization; # Pass the Authorization header
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user