2020-09-04 04:27:06 +00:00
|
|
|
tls:
|
|
|
|
options:
|
|
|
|
default:
|
|
|
|
minVersion: VersionTLS12
|
|
|
|
|
|
|
|
http:
|
|
|
|
middlewares:
|
|
|
|
securehttps:
|
|
|
|
headers:
|
|
|
|
frameDeny: true
|
|
|
|
sslRedirect: true
|
|
|
|
browserXssFilter: true
|
|
|
|
contentTypeNosniff: true
|
2022-08-19 03:32:37 +00:00
|
|
|
{% if traefik_hsts_enable is defined and traefik_hsts_enable %}
|
2020-09-04 04:27:06 +00:00
|
|
|
stsPreload: {{ traefik_hsts_preload }}
|
|
|
|
stsSeconds: {{ traefik_hsts_seconds }}
|
2022-08-19 03:32:37 +00:00
|
|
|
{% endif %}
|
2020-09-16 03:06:33 +00:00
|
|
|
customFrameOptionsValue: SAMEORIGIN
|