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

19 lines
396 B
Django/Jinja

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