Update traefik/dynamic/authentik.yml
This commit is contained in:
@@ -1,22 +1,37 @@
|
|||||||
http:
|
# http:
|
||||||
middlewares:
|
# middlewares:
|
||||||
authentik:
|
# authentik:
|
||||||
forwardAuth:
|
# forwardAuth:
|
||||||
address: "http://auth.japnet.nl:9000/outpost.goauthentik.io/auth/traefik-dashboard"
|
# address: "http://auth.japnet.nl:9000/outpost.goauthentik.io/auth/traefik-dashboard"
|
||||||
trustForwardHeader: true
|
# trustForwardHeader: true
|
||||||
authResponseHeaders:
|
# authResponseHeaders:
|
||||||
- X-authentik-username
|
# - X-authentik-username
|
||||||
- X-authentik-groups
|
# - X-authentik-groups
|
||||||
- X-authentik-email
|
# - X-authentik-email
|
||||||
- X-authentik-name
|
# - X-authentik-name
|
||||||
|
|
||||||
|
# routers:
|
||||||
|
# traefik-dashboard:
|
||||||
|
# rule: "Host(`traefik.japnet.nl`)"
|
||||||
|
# entryPoints:
|
||||||
|
# - websecure
|
||||||
|
# middlewares:
|
||||||
|
# - authentik
|
||||||
|
# service: api@internal
|
||||||
|
# tls:
|
||||||
|
# certResolver: cf
|
||||||
|
http:
|
||||||
routers:
|
routers:
|
||||||
traefik-dashboard:
|
auth:
|
||||||
rule: "Host(`traefik.japnet.nl`)"
|
rule: Host("auth.japnet.nl")
|
||||||
entryPoints:
|
entryPoints:
|
||||||
- websecure
|
- websecure
|
||||||
middlewares:
|
service: auth
|
||||||
- authentik
|
|
||||||
service: api@internal
|
|
||||||
tls:
|
tls:
|
||||||
certResolver: cf
|
certResolver: cf # of hoe jouw resolver heet
|
||||||
|
|
||||||
|
services:
|
||||||
|
auth:
|
||||||
|
loadBalancer:
|
||||||
|
servers:
|
||||||
|
- url: http://server:9000
|
||||||
Reference in New Issue
Block a user