Files
nas-compose/docker/configs/traefik/dynamic/authentik.yml
2023-01-07 14:50:10 +01:00

28 lines
769 B
YAML

http:
middlewares:
authentik:
forwardAuth:
address: http://authentik:9000/outpost.goauthentik.io/auth/traefik
trustForwardHeader: true
authResponseHeaders:
- X-authentik-username
- X-authentik-groups
- X-authentik-email
- X-authentik-name
- X-authentik-uid
- X-authentik-jwt
- X-authentik-meta-jwks
- X-authentik-meta-outpost
- X-authentik-meta-provider
- X-authentik-meta-app
- X-authentik-meta-version
- Authorization
routers:
middlewares:
- authentik@file
general-auth:
rule: PathPrefix(`/outpost.goauthentik.io/`)
service: authentik-authentication@docker
priority: 1000