Files
infra-traefik-config/traefik/dynamic/authentik.yml

22 lines
548 B
YAML

http:
middlewares:
authentik:
forwardAuth:
address: "http://auth.japnet.nl:9000/outpost.goauthentik.io/auth/traefik-dashboard"
trustForwardHeader: true
authResponseHeaders:
- X-authentik-username
- X-authentik-groups
- X-authentik-email
- X-authentik-name
routers:
traefik-dashboard:
rule: "Host(`traefik.japnet.nl`)"
entryPoints:
- websecure
middlewares:
- authentik
service: api@internal
tls:
certResolver: cf