Files
dell01/services/traefik/config/dynamic/middlewares.yaml

21 lines
603 B
YAML

http:
middlewares:
# Basic Auth für Traefik Dashboard
# Generieren: echo $(htpasswd -nb user password) | sed -e 's/\$/\$\$/g'
traefik-auth:
basicAuth:
usersFile: /auth/traefik-users
# Sicherheits-Header für alle Services
secure-headers:
headers:
sslRedirect: true
forceSTSHeader: true
stsIncludeSubdomains: true
stsPreload: true
stsSeconds: 31536000
contentTypeNosniff: true
browserXssFilter: true
referrerPolicy: "strict-origin-when-cross-origin"
customFrameOptionsValue: "SAMEORIGIN"