add authentication to all services

This commit is contained in:
Rouven Seifert 2025-05-14 01:03:40 +02:00
parent 7656a942c0
commit 7fe28374b8
5 changed files with 42 additions and 2 deletions

View file

@ -11,8 +11,7 @@ in
reverse_proxy /outpost.goauthentik.io/* http://nuc.vpn.rfive.de:9000
# forward authentication to authentik
@NoAccess not path /api*
forward_auth @NoAccess http://nuc.vpn.rfive.de:9000 {
forward_auth http://nuc.vpn.rfive.de:9000 {
uri /outpost.goauthentik.io/auth/caddy
# capitalization of the headers is important, otherwise they will be empty