m
This commit is contained in:
@@ -17,11 +17,6 @@ server {
|
||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||
|
||||
location = /validate {
|
||||
# forward the /validate request to Vouch Proxy
|
||||
#proxy_pass http://vouch:9090;
|
||||
|
||||
|
||||
|
||||
# be sure to pass the original host header
|
||||
proxy_set_header Host $http_host;
|
||||
|
||||
@@ -37,6 +32,7 @@ server {
|
||||
auth_request_set $auth_resp_err $upstream_http_x_vouch_err;
|
||||
auth_request_set $auth_resp_failcount $upstream_http_x_vouch_failcount;
|
||||
|
||||
# forward the /validate request to Vouch Proxy
|
||||
resolver 127.0.0.11;
|
||||
set $upstream "http://vouch:9090";
|
||||
proxy_pass $upstream;
|
||||
|
||||
Reference in New Issue
Block a user