2016-12-12 17:30:31 +00:00
|
|
|
logLevel = "DEBUG"
|
|
|
|
|
|
|
|
defaultEntryPoints = ["http", "https"]
|
|
|
|
|
|
|
|
[entryPoints]
|
|
|
|
[entryPoints.http]
|
2018-03-05 19:54:04 +00:00
|
|
|
address = ":5002"
|
2016-12-12 17:30:31 +00:00
|
|
|
[entryPoints.https]
|
|
|
|
address = ":5001"
|
|
|
|
[entryPoints.https.tls]
|
|
|
|
|
|
|
|
|
|
|
|
[acme]
|
2018-04-11 14:30:04 +00:00
|
|
|
email = "test@traefik.io"
|
|
|
|
storage = "/tmp/acme.json"
|
|
|
|
entryPoint = "https"
|
2018-06-15 14:08:03 +00:00
|
|
|
acmeLogging = true
|
2018-04-11 14:30:04 +00:00
|
|
|
onDemand = false
|
|
|
|
onHostRule = false
|
|
|
|
caServer = "http://{{.BoulderHost}}:4001/directory"
|
|
|
|
[acme.httpChallenge]
|
|
|
|
entryPoint="http"
|
|
|
|
[[acme.domains]]
|
|
|
|
main = "acme.wtf"
|
|
|
|
sans = [ "traefik.acme.wtf" ]
|
2018-03-05 19:54:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
[api]
|
2016-12-12 17:30:31 +00:00
|
|
|
|
|
|
|
[file]
|
|
|
|
|
|
|
|
[backends]
|
|
|
|
[backends.backend]
|
|
|
|
[backends.backend.servers.server1]
|
|
|
|
url = "http://127.0.0.1:9010"
|
2018-04-11 14:30:04 +00:00
|
|
|
weight = 1
|
2016-12-12 17:30:31 +00:00
|
|
|
|
|
|
|
[frontends]
|
|
|
|
[frontends.frontend]
|
|
|
|
backend = "backend"
|
|
|
|
[frontends.frontend.routes.test]
|
2018-03-05 19:54:04 +00:00
|
|
|
rule = "Host:traefik.acme.wtf"
|