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:
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:
auth:
rule: Host("auth.japnet.nl")
traefik-dashboard:
rule: "Host(`traefik.japnet.nl`)"
entryPoints:
- websecure
service: auth
middlewares:
- authentik
service: api@internal
tls:
certResolver: cf # of hoe jouw resolver heet
services:
auth:
loadBalancer:
servers:
- url: http://server:9000
certResolver: cf