2020-09-04 12:47:16 +02:00
|
|
|
[global]
|
|
|
|
sendAnonymousUsage = true
|
|
|
|
checkNewVersion = true
|
2020-08-07 15:54:17 +02:00
|
|
|
|
2020-09-04 12:47:16 +02:00
|
|
|
[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"
|
2020-08-07 15:54:17 +02:00
|
|
|
|
|
|
|
|
2020-09-04 12:47:16 +02:00
|
|
|
[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"
|
2020-08-07 15:54:17 +02:00
|
|
|
|
2020-09-04 12:47:16 +02:00
|
|
|
[certificatesResolvers]
|
|
|
|
[certificatesResolvers.letsencrypt]
|
|
|
|
[certificatesResolvers.letsencrypt.acme]
|
|
|
|
email = "picasoft@assos.utc.fr"
|
|
|
|
storage = "/certs/acme.json"
|
|
|
|
[certificatesResolvers.letsencrypt.acme.httpChallenge]
|
|
|
|
entryPoint = "http"
|