aboutsummaryrefslogtreecommitdiff
path: root/consul/configuration/traefik/traefik.toml.sample
blob: fbfc74594328cfaf5ea4ca689ea344fd54428fba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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

  [acme.dnsChallenge]
    provider = "cloudflare"
    delayBeforeCheck = 0

  [acme.httpChallenge]
    entryPoint = "http"

[[acme.domains]]
  main = "deuxfleurs.fr"

[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