modified
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user