From afdd1ec275f9de48494078b83977c601d22b01fb Mon Sep 17 00:00:00 2001 From: Hubert Cornet Date: Tue, 12 Mar 2024 21:21:38 +0100 Subject: [PATCH] Actualiser configs/traefik.yml --- configs/traefik.yml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/configs/traefik.yml b/configs/traefik.yml index c11b296..f34aea2 100644 --- a/configs/traefik.yml +++ b/configs/traefik.yml @@ -3,16 +3,17 @@ global: # Send anonymous usage data sendAnonymousUsage: false -# checkNewVersion: true + checkNewVersion: true entryPoints: - web: + http: address: ":80" -# redirections: -# entryPoint: -# to: "websecure" -# scheme: "https" - websecure: + http: + redirections: + entryPoint: + to: "https" + scheme: "https" + https: address: ":443" # Access logs @@ -25,16 +26,19 @@ providers: docker: endpoint: "unix:///var/run/docker.sock" exposedByDefault: false + network: "traefik-network" + watch: true file: directory: /etc/traefik/dynamic watch: true + providersThrottleDuration: 10 certificatesResolvers: letsencrypt: acme: tlschallenge: true httpchallenge: - entrypoint: web + entrypoint: http email: admin@tips-of-mine.fr storage: /etc/traefik/acme/acme.json