Update traefik/dynamic/authentik.yml
This commit is contained in:
@@ -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
|
|
||||||
Reference in New Issue
Block a user