homelab/services/caddy/snippets/authentik_forward_auth.caddy
2026-03-10 01:34:11 +03:00

10 lines
339 B
Plaintext

(authentik_forward_auth) {
reverse_proxy /outpost.goauthentik.io/* http://127.0.0.1:9000
forward_auth http://127.0.0.1:9000 {
uri /outpost.goauthentik.io/auth/caddy
copy_headers X-Authentik-Username X-Authentik-Groups X-Authentik-Email X-Authentik-Name X-Authentik-Uid X-Authentik-Jwt
trusted_proxies private_ranges
}
}