traefik/pica-traefik/traefik.toml

40 lines
963 B
TOML
Raw Normal View History

[global]
sendAnonymousUsage = true
checkNewVersion = true
[entryPoints]
[entryPoints.http]
address = ":80"
[entryPoints.http.redirections.entryPoint]
to = "https"
scheme = "https"
[entryPoints.https]
address = ":443"
middlewares = ["hardening@file", "compression@file"]
[entryPoints.https.tls]
certResolver = "letsencrypt"
options = "tls12@file"
[providers]
providersThrottleDuration = "2s"
[providers.docker]
watch = true
endpoint = "unix:///var/run/docker.sock"
swarmMode = false
exposedByDefault = false
[providers.file]
filename = "/etc/traefik/traefik_dynamic.toml"
watch = true
[log]
level = "INFO"
[certificatesResolvers]
[certificatesResolvers.letsencrypt]
[certificatesResolvers.letsencrypt.acme]
email = "picasoft@assos.utc.fr"
storage = "/certs/acme.json"
[certificatesResolvers.letsencrypt.acme.httpChallenge]
entryPoint = "http"