This repository has been archived on 2023-03-15. You can view files and clone it, but cannot push or open issues or pull requests.
infrastructure/consul/configuration/traefik/traefik.toml.sample

54 lines
988 B
Text
Raw Normal View History

2019-06-01 14:02:49 +00:00
InsecureSkipVerify = true
defaultEntryPoints = ["http", "https"]
[entryPoints]
[entryPoints.admin]
address = ":8082"
[entryPoints.admin.auth.basic]
users = ["<username>:<hash>"]
[entryPoints.http]
address = ":80"
[entryPoints.http.redirect]
entryPoint = "https"
[entryPoints.https]
address = ":443"
compress = true
[entryPoints.https.tls]
[retry]
[acme]
email = "quentin@dufour.io"
storage = "traefik/acme/account"
entryPoint = "https"
onHostRule = true
2020-01-14 07:33:58 +00:00
# [acme.dnsChallenge]
# provider = "cloudflare"
# delayBeforeCheck = 0
2019-06-01 14:02:49 +00:00
[acme.httpChallenge]
entryPoint = "http"
2020-01-14 07:33:58 +00:00
#[[acme.domains]]
# main = "deuxfleurs.fr"
2019-06-01 14:02:49 +00:00
[api]
entryPoint = "admin"
dashboard = true
[consul]
endpoint = "consul.service.2.cluster.deuxfleurs.fr:8500"
watch = true
prefix = "traefik"
[consulCatalog]
endpoint = "consul.service.2.cluster.deuxfleurs.fr:8500"
prefix = "traefik"
domain = "web.deuxfleurs.fr"
exposedByDefault = false