homelab/roles/traefik/templates/security.yml.j2

17 lines
366 B
Plaintext
Raw Normal View History

tls:
options:
default:
minVersion: VersionTLS12
http:
middlewares:
securehttps:
headers:
frameDeny: true
sslRedirect: true
browserXssFilter: true
contentTypeNosniff: true
stsPreload: {{ traefik_hsts_preload }}
stsSeconds: {{ traefik_hsts_seconds }}
customFrameOptionsValue: SAMEORIGIN