Added labels for Traefik to always redirect to https

This commit is contained in:
WilliamMiceli
2018-09-08 11:28:22 -04:00
parent b2d9e1197c
commit 76ce349896

View File

@@ -23,6 +23,8 @@ services:
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: https
traefik.frontend.redirect.entryPoint: https
traefik.frontend.redirect.permanent: true
{{- else}} {{- else}}
traefik.enable: false traefik.enable: false
{{- end}} {{- end}}