infrastructure/app/traefik/config/traefik.toml

51 lines
921 B
TOML
Raw Normal View History

2019-06-01 14:02:49 +00:00
InsecureSkipVerify = true
defaultEntryPoints = ["http", "https"]
[entryPoints]
[entryPoints.admin]
address = ":8082"
[entryPoints.http]
address = ":80"
[entryPoints.http.redirect]
entryPoint = "https"
[entryPoints.https]
address = ":443"
compress = true
[entryPoints.https.tls]
2020-05-05 14:34:16 +00:00
[ping]
entrypoint = "admin"
2019-06-01 14:02:49 +00:00
[retry]
[acme]
email = "quentin@dufour.io"
storage = "traefik/acme/account"
entryPoint = "https"
onHostRule = true
[acme.httpChallenge]
entryPoint = "http"
[api]
entryPoint = "admin"
dashboard = true
[consul]
2020-03-22 10:32:48 +00:00
endpoint = "172.17.0.1:8500"
2019-06-01 14:02:49 +00:00
watch = true
prefix = "traefik"
[consulCatalog]
2020-03-22 10:32:48 +00:00
endpoint = "172.17.0.1:8500"
2019-06-01 14:02:49 +00:00
prefix = "traefik"
domain = "web.deuxfleurs.fr"
exposedByDefault = false
[metrics]
[metrics.prometheus]
# -- below is for traefik 1.7 see https://doc.traefik.io/traefik/v1.7/configuration/metrics/
entryPoint = "admin"