s modified: volumes/conf.d/code.zinomedia.de.conf
This commit is contained in:
@@ -1,8 +1,3 @@
|
||||
upstream vouch_proxy {
|
||||
set $upstream vouch:9090;
|
||||
server $upstream;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
#listen [::]:443 ssl;
|
||||
@@ -34,6 +29,10 @@ server {
|
||||
# forward the /validate request to Vouch Proxy
|
||||
#proxy_pass http://vouch:9090/validate;
|
||||
|
||||
if (1) {
|
||||
proxy_pass http://vouch:9090/validate;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -56,8 +55,6 @@ server {
|
||||
#resolver_timeout 10s;
|
||||
#set $upstream "http://vouch:9090/validate";
|
||||
#proxy_pass $upstream;
|
||||
|
||||
proxy_pass http://vouch_proxy/validate;
|
||||
}
|
||||
|
||||
# if validate returns `401 not authorized` then forward the request to the error401block
|
||||
|
||||
Reference in New Issue
Block a user