m
This commit is contained in:
1 parent
87f36664e3
commit
f4a773ef07
1 file changed
+2
-2
@@ -49,8 +49,8 @@ server {
|
|||||||
|
|
||||||
resolver 127.0.0.11 valid=60s ipv6=off;
|
resolver 127.0.0.11 valid=60s ipv6=off;
|
||||||
resolver_timeout 10s;
|
resolver_timeout 10s;
|
||||||
set $upstream "http://vouch:9090/validate";
|
set $upstream vouch;
|
||||||
proxy_pass $upstream;
|
proxy_pass http://$upstream:9090/validate;
|
||||||
}
|
}
|
||||||
|
|
||||||
# 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
|
||||||
|
|||||||
Reference in new issue
Block a user