Added labels for Traefik to always redirect to https
This commit is contained in:
1 parent
b2d9e1197c
commit
76ce349896
1 file changed
+2
@@ -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