[global] checkNewVersion = true # Enable the Dashboard [api] dashboard = true # Write out Traefik logs [log] level = "INFO" filePath = "/traefik.log" # [accessLog] # filePath = "/access.log" [entryPoints.http] address = ":80" # Redirect to HTTPS (why wouldn't you?) [entryPoints.http.http.redirections.entryPoint] to = "https" scheme = "https" [entryPoints.http.forwardedHeaders] trustedIPs = ["10.0.0.0/8", "172.16.0.0/16", "192.168.0.0/16", "fc00::/7"] [entryPoints.https] address = ":443" [entryPoints.https.http.tls] certResolver = "cloudflare" [entryPoints.https.forwardedHeaders] trustedIPs = ["10.0.0.0/8", "172.16.0.0/16", "192.168.0.0/16", "fc00::/7"] # Cloudflare [certificatesResolvers.infomaniak.acme] email = "me@xyz.abc" storage = "acme.json" [certificatesResolvers.infomaniak.acme.dnsChallenge] provider = "cloudflare" resolvers = ["1.1.1.1:53", "8.8.8.8:53"] # Docker Traefik provider [providers.docker] endpoint = "unix:///var/run/docker.sock" swarmMode = false watch = true exposedByDefault = false [providers.file] directory = "/dyn" watch = true