Update traefik/dynamic/authentik.yml
This commit is contained in:
@@ -1,22 +1,37 @@
|
||||
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
|
||||
# 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
|
||||
http:
|
||||
routers:
|
||||
traefik-dashboard:
|
||||
rule: "Host(`traefik.japnet.nl`)"
|
||||
auth:
|
||||
rule: Host("auth.japnet.nl")
|
||||
entryPoints:
|
||||
- websecure
|
||||
middlewares:
|
||||
- authentik
|
||||
service: api@internal
|
||||
service: auth
|
||||
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