From 2edb1931f2316ce28e774ff9041373b1b09ac07f Mon Sep 17 00:00:00 2001 From: Fabian Gerle Date: Sun, 16 Jul 2023 02:12:17 +0100 Subject: [PATCH] http to https redirection --- traefik.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/traefik.yaml b/traefik.yaml index 91f6f6d..e7044f0 100644 --- a/traefik.yaml +++ b/traefik.yaml @@ -1,6 +1,13 @@ entryPoints: web: address: ":80" + http: + redirections: + entrypoint: + to: "websecure" + scheme: "https" + permanent: true + websecure: address: ":443" @@ -38,7 +45,7 @@ certificatesResolvers: storage: acme.json dnsChallenge: provider: duckdns - delayBeforeCheck: 0 + delayBeforeCheck: 30 resolvers: - "1.1.1.1:53" - "8.8.8.8:53"