This commit is contained in:
zino
2023-12-05 17:20:04 +01:00
parent f4a773ef07
commit f3a1ac6a8c

View File

@@ -49,8 +49,8 @@ server {
resolver 127.0.0.11 valid=60s ipv6=off;
resolver_timeout 10s;
set $upstream vouch;
proxy_pass http://$upstream:9090/validate;
set $upstream vouch:9090;
proxy_pass http://$upstream/validate;
}
# if validate returns `401 not authorized` then forward the request to the error401block