Added STS headers

This commit is contained in:
WilliamMiceli
2018-11-17 01:07:29 -05:00
parent be0bdbb013
commit d7f0512b09

View File

@@ -20,10 +20,10 @@ services:
traefik.enable: true traefik.enable: true
traefik.frontend.rule: Host:${TRAEFIK_HOST} traefik.frontend.rule: Host:${TRAEFIK_HOST}
traefik.frontend.entryPoints: http,https traefik.frontend.entryPoints: http,https
# traefik.frontend.headers.forceSTSHeader: true traefik.frontend.headers.forceSTSHeader: true
traefik.frontend.headers.SSLRedirect: true traefik.frontend.headers.SSLRedirect: true
# traefik.frontend.headers.STSPreload: true traefik.frontend.headers.STSPreload: true
# traefik.frontend.headers.STSSeconds: 15552000 traefik.frontend.headers.STSSeconds: 15552000
traefik.port: "80" traefik.port: "80"
{{- else}} {{- else}}
traefik.enable: false traefik.enable: false