2017-06-19 11:22:41 +00:00
|
|
|
logLevel = "DEBUG"
|
|
|
|
|
|
|
|
defaultEntryPoints = ["http", "https"]
|
|
|
|
|
|
|
|
[entryPoints]
|
|
|
|
[entryPoints.http]
|
2018-03-05 19:54:04 +00:00
|
|
|
address = ":5002"
|
2017-06-19 11:22:41 +00:00
|
|
|
[entryPoints.https]
|
|
|
|
address = ":5001"
|
|
|
|
[entryPoints.https.tls]
|
|
|
|
[[entryPoints.https.tls.certificates]]
|
2017-11-09 11:16:03 +00:00
|
|
|
certFile = "fixtures/acme/ssl/wildcard.crt"
|
|
|
|
keyFile = "fixtures/acme/ssl/wildcard.key"
|
2017-06-19 11:22:41 +00:00
|
|
|
|
|
|
|
[acme]
|
2018-06-27 13:08:05 +00:00
|
|
|
email = "test@traefik.io"
|
|
|
|
storage = "/tmp/acme.json"
|
|
|
|
entryPoint = "https"
|
|
|
|
acmeLogging = true
|
|
|
|
onDemand = {{ .OnDemand }}
|
|
|
|
onHostRule = {{ .OnHostRule }}
|
|
|
|
keyType = "{{ .KeyType }}"
|
|
|
|
caServer = "{{ .CAServer }}"
|
|
|
|
|
|
|
|
{{if .HTTPChallenge }}
|
|
|
|
[acme.httpChallenge]
|
|
|
|
entryPoint = "{{ .HTTPChallenge.EntryPoint }}"
|
|
|
|
{{end}}
|
|
|
|
|
|
|
|
{{range .Domains}}
|
|
|
|
[[acme.domains]]
|
|
|
|
main = "{{ .Main }}"
|
|
|
|
sans = [{{range .SANs }}
|
|
|
|
"{{.}}",
|
|
|
|
{{end}}]
|
|
|
|
{{end}}
|
|
|
|
|
|
|
|
[api]
|
2017-06-19 11:22:41 +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
|
2017-06-19 11:22:41 +00:00
|
|
|
|
|
|
|
[frontends]
|
|
|
|
[frontends.frontend]
|
|
|
|
backend = "backend"
|
|
|
|
[frontends.frontend.routes.test]
|
|
|
|
rule = "Host:traefik.acme.wtf"
|