diff --git a/Caddyfile b/Caddyfile index 3e267f3..e4208b8 100755 --- a/Caddyfile +++ b/Caddyfile @@ -12,6 +12,15 @@ } } +(authelia) { + forward_auth http://authelia:9091 { + uri /api/verify?rd=https://login.wasted-bandwidth.net/ + copy_headers Remote-User Remote-Groups Remote-Email Remote-Name + } +} + + + (email-proxy) { redir https://mail.netgrimoire.com/sogo 301 @@ -80,7 +89,7 @@ transmission.netgrimoire.com { } stash.wasted-bandwidth.net { - import authentik + import authelia reverse_proxy http://stash:9999 }