This commit is contained in:
zino
2023-12-05 17:05:30 +01:00
parent a7441a5e39
commit 312f178c52

View File

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