Update traefik/dynamic/authentik.yml

This commit is contained in:
2025-12-10 12:08:59 +01:00
parent 2ede9522a8
commit 26149fe299

View File

@@ -1,15 +1,22 @@
http: http:
middlewares:
authentik:
forwardAuth:
address: "http://server:9000/outpost.goauthentik.io/auth/traefik"
trustForwardHeader: true
authResponseHeaders:
- X-authentik-username
- X-authentik-groups
- X-authentik-email
- X-authentik-name
routers: routers:
auth: traefik-dashboard:
rule: Host("auth.japnet.nl") rule: "Host(`traefik.japnet.nl`)"
entryPoints: entryPoints:
- websecure - websecure
service: auth middlewares:
- authentik
service: api@internal
tls: tls:
certResolver: cf # of hoe jouw resolver heet certResolver: cf
services:
auth:
loadBalancer:
servers:
- url: http://server:9000