s modified: volumes/conf.d/code.zinomedia.de.conf

This commit is contained in:
zino
2023-12-05 17:42:52 +01:00
parent b7e8f552e1
commit 4a02409ceb

View File

@@ -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