This commit is contained in:
zino
2023-12-05 16:48:52 +01:00
parent 3e7510ee73
commit 8cdbbe3545

View File

@@ -48,8 +48,8 @@ server {
auth_request_set $auth_resp_failcount $upstream_http_x_vouch_failcount; auth_request_set $auth_resp_failcount $upstream_http_x_vouch_failcount;
resolver 127.0.0.11; resolver 127.0.0.11;
set $upstream "vouch:9090"; set $upstream "vouch:9090/validate";
proxy_pass http://$upstream/validate; proxy_pass http://$upstream;
} }
# if validate returns `401 not authorized` then forward the request to the error401block # if validate returns `401 not authorized` then forward the request to the error401block