modified
This commit is contained in:
1 parent
f4600d1026
commit
5ad08ee63f
2 files changed
+4
-7
No files matched your search
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user