Added labels for Traefik to always redirect to https
This commit is contained in:
@@ -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}}
|
||||||
|
|||||||
Reference in New Issue
Block a user