Enabled HTTPS redirect

This commit is contained in:
WilliamMiceli
2018-10-13 13:51:58 -04:00
parent f300e01075
commit 275ffa01c5

View File

@@ -18,10 +18,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: "3000" traefik.port: "3000"
{{- else}} {{- else}}
traefik.enable: false traefik.enable: false