Redirect from http to https by default

This commit is contained in:
Kienan Stewart 2022-09-11 19:34:03 -04:00
parent 84f2174241
commit 6fd2e6d452
1 changed files with 5 additions and 0 deletions

View File

@ -1,6 +1,11 @@
[entryPoints]
[entryPoints.http]
address = ":80"
[entryPoints.http.http]
[entryPoints.http.http.redirections]
[entryPoints.http.http.redirections.entryPoint]
to = "https"
scheme = "https"
[entryPoints.https]
address = ":443"
[entryPoints.traefik]