This commit is contained in:
zino
2023-12-05 16:07:18 +01:00
parent f4600d1026
commit 5ad08ee63f
2 changed files with 4 additions and 7 deletions

View File

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

View File

@@ -22,9 +22,6 @@ server {
proxy_pass $upstream;
proxy_set_header Host $http_host;
#proxy_pass http://vouch:9090;
#proxy_set_header Host $http_host;
}
}