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.port: "80"
|
||||
traefik.frontend.entryPoints: https
|
||||
traefik.frontend.redirect.entryPoint: https
|
||||
traefik.frontend.redirect.permanent: true
|
||||
{{- else}}
|
||||
traefik.enable: false
|
||||
{{- end}}
|
||||
|
||||
Reference in new issue
Block a user