From 6fd2e6d4523315733b602734e6b0b9a52009abf1 Mon Sep 17 00:00:00 2001 From: Kienan Stewart Date: Sun, 11 Sep 2022 19:34:03 -0400 Subject: [PATCH] Redirect from http to https by default --- traefik.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/traefik.toml b/traefik.toml index f131c7e..3f6dd3d 100644 --- a/traefik.toml +++ b/traefik.toml @@ -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]