m
This commit is contained in:
@@ -49,8 +49,8 @@ server {
|
|||||||
|
|
||||||
resolver 127.0.0.11 valid=1s;
|
resolver 127.0.0.11 valid=1s;
|
||||||
resolver_timeout 10s;
|
resolver_timeout 10s;
|
||||||
set $upstream "vouch:9090/validate";
|
set $upstream "http://vouch:9090/validate";
|
||||||
proxy_pass http://$upstream;
|
proxy_pass $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
|
||||||
|
|||||||
Reference in New Issue
Block a user