Update traefik/dynamic/dashboard.yml
This commit is contained in:
@@ -1,32 +1,47 @@
|
|||||||
http:
|
|
||||||
routers:
|
|
||||||
traefik-dashboard:
|
|
||||||
rule: Host(`traefik.japnet.nl`)
|
|
||||||
entryPoints:
|
|
||||||
- websecure
|
|
||||||
service: api@internal
|
|
||||||
tls:
|
|
||||||
certResolver: cf
|
|
||||||
|
|
||||||
# http:
|
# 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:
|
# routers:
|
||||||
# traefik-dashboard:
|
# traefik-dashboard:
|
||||||
# rule: "Host(`traefik.japnet.nl`)"
|
# rule: Host(`traefik.japnet.nl`)
|
||||||
# entryPoints:
|
# entryPoints:
|
||||||
# - websecure
|
# - websecure
|
||||||
# middlewares:
|
|
||||||
# - authentik
|
|
||||||
# service: api@internal
|
# service: api@internal
|
||||||
# tls:
|
# tls:
|
||||||
# certResolver: cf
|
# certResolver: cf
|
||||||
|
|
||||||
|
http:
|
||||||
|
middlewares:
|
||||||
|
authentik:
|
||||||
|
forwardAuth:
|
||||||
|
address: http://outpost.company:9000/outpost.goauthentik.io/auth/traefik
|
||||||
|
trustForwardHeader: true
|
||||||
|
authResponseHeaders:
|
||||||
|
- X-authentik-username
|
||||||
|
- X-authentik-groups
|
||||||
|
- X-authentik-entitlements
|
||||||
|
- X-authentik-email
|
||||||
|
- X-authentik-name
|
||||||
|
- X-authentik-uid
|
||||||
|
- X-authentik-jwt
|
||||||
|
- X-authentik-meta-jwks
|
||||||
|
- X-authentik-meta-outpost
|
||||||
|
- X-authentik-meta-provider
|
||||||
|
- X-authentik-meta-app
|
||||||
|
- X-authentik-meta-version
|
||||||
|
routers:
|
||||||
|
default-router:
|
||||||
|
rule: "Host(`traefik.japnet.nl`)"
|
||||||
|
middlewares:
|
||||||
|
- authentik
|
||||||
|
priority: 10
|
||||||
|
service: app
|
||||||
|
default-router-auth:
|
||||||
|
rule: "Host(`traefik.japnet.nl`) && PathPrefix(`/outpost.goauthentik.io/`)"
|
||||||
|
priority: 15
|
||||||
|
service: authentik
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
service: api@internal
|
||||||
|
authentik:
|
||||||
|
loadBalancer:
|
||||||
|
servers:
|
||||||
|
- url: http://auth.japnet.nl:9000/outpost.goauthentik.io
|
||||||
Reference in New Issue
Block a user