Added http to https redirect

This commit is contained in:
WilliamMiceli
2018-10-05 15:59:38 -04:00
parent d30de05257
commit cd3116b667

View File

@@ -76,7 +76,8 @@ services:
traefik.enable: true traefik.enable: true
traefik.frontend.rule: Host:${TRAEFIK_HOST} traefik.frontend.rule: Host:${TRAEFIK_HOST}
traefik.port: "80" traefik.port: "80"
traefik.frontend.entryPoints: https traefik.frontend.entryPoints: http,https
traefik.frontend.headers.SSLRedirect: true
traefik.frontend.passHostHeader: true traefik.frontend.passHostHeader: true
{{- else}} {{- else}}
traefik.enable: false traefik.enable: false