Added http to https redirect

This commit is contained in:
WilliamMiceli
2018-09-21 14:29:40 -04:00
parent 4aab1c886b
commit 6fcf0fd3f0

View File

@@ -20,7 +20,9 @@ services:
traefik.enable: true traefik.enable: true
traefik.frontend.rule: Host:${TRAEFIK_HOST} traefik.frontend.rule: Host:${TRAEFIK_HOST}
traefik.port: "2368" traefik.port: "2368"
traefik.frontend.entryPoints: https traefik.frontend.entryPoints: http,https
traefik.frontend.redirect.entryPoint: https
traefik.frontend.redirect.permanent: true
{{- else}} {{- else}}
traefik.enable: false traefik.enable: false
{{- end}} {{- end}}