This commit is contained in:
zino
2023-12-05 21:59:50 +01:00
parent 1bb416ea1b
commit 4d69fc170b

View File

@@ -22,7 +22,7 @@ server {
#include "snippets/enable-vouch.conf";
# send all requests to the `/validate` endpoint for authorization
auth_request .auth;
location .auth {
internal;
@@ -54,6 +54,8 @@ server {
# return 302 https://vouch.armos.zinomedia.de/login?url=$scheme://$http_host$request_uri&vouch-failcount=$auth_resp_failcount&X-Vouch-Token=$auth_resp_jwt&error=$auth_resp_err;
# }
location / {
auth_request .auth;
resolver 127.0.0.11;
set $upstream "http://code-server:8443";