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