This commit is contained in:
zino
2023-12-05 16:23:21 +01:00
parent ecae942865
commit 8b7303e0e1

View File

@@ -27,11 +27,11 @@ server {
#proxy_pass http://127.0.0.1:9090/validate; #proxy_pass http://127.0.0.1:9090/validate;
# forward the /validate request to Vouch Proxy # forward the /validate request to Vouch Proxy
#proxy_pass http://vouch:9090/validate; proxy_pass http://vouch:9090/validate;
resolver 127.0.0.11; #resolver 127.0.0.11;
set $upstream "http://vouch:9090/validate"; #set $upstream "http://vouch:9090/validate";
proxy_pass $upstream; #proxy_pass $upstream;
# be sure to pass the original host header # be sure to pass the original host header
proxy_set_header Host $http_host; proxy_set_header Host $http_host;