19 lines
442 B
Django/Jinja
19 lines
442 B
Django/Jinja
tls:
|
|
options:
|
|
default:
|
|
minVersion: VersionTLS12
|
|
|
|
http:
|
|
middlewares:
|
|
securehttps:
|
|
headers:
|
|
frameDeny: true
|
|
sslRedirect: true
|
|
browserXssFilter: true
|
|
contentTypeNosniff: true
|
|
{% if traefik_hsts_enable is defined and traefik_hsts_enable %}
|
|
stsPreload: {{ traefik_hsts_preload }}
|
|
stsSeconds: {{ traefik_hsts_seconds }}
|
|
{% endif %}
|
|
customFrameOptionsValue: SAMEORIGIN
|