HTTPS now working. HTTP will now always redirect to HTTPS.

This commit is contained in:
WilliamMiceli
2018-10-12 13:41:29 -04:00
parent a05dec9608
commit 94aac18580

View File

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