infrastructure/coreos-config/plays/services/traefik/dynamic.yaml

33 lines
773 B
YAML
Raw Normal View History

2022-10-01 15:34:55 +02:00
http:
middlewares:
2023-04-09 22:08:47 +02:00
auth-headers:
headers:
sslRedirect: true
stsSeconds: 315360000
browserXssFilter: true
contentTypeNosniff: true
forceSTSHeader: true
sslHost: tobiasmanske.de
stsIncludeSubdomains: true
stsPreload: true
frameDeny: true
oauth-auth:
2022-10-01 15:34:55 +02:00
forwardAuth:
2023-04-09 22:08:47 +02:00
address: https://traefik-fa.tobiasmanske.de/oauth2/auth
trustForwardHeader: true
oauth-errors:
errors:
status:
- "401-403"
service: oauth@docker
query: "/oauth2/sign_in"
oauth:
chain:
middlewares:
- oauth-errors
- oauth-auth
deny-metrics:
replacePathRegex:
regex: "^/metrics$"
replacement: "/"