37 lines
873 B
YAML
37 lines
873 B
YAML
# 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:
|
|
auth:
|
|
rule: Host("auth.japnet.nl")
|
|
entryPoints:
|
|
- websecure
|
|
service: auth
|
|
tls:
|
|
certResolver: cf # of hoe jouw resolver heet
|
|
|
|
services:
|
|
auth:
|
|
loadBalancer:
|
|
servers:
|
|
- url: http://server:9000 |