2018-11-27 16:42:04 +00:00
|
|
|
[log]
|
2016-12-12 17:30:31 +00:00
|
|
|
logLevel = "DEBUG"
|
|
|
|
|
2018-11-27 16:42:04 +00:00
|
|
|
|
2016-12-12 17:30:31 +00:00
|
|
|
|
|
|
|
[entryPoints]
|
|
|
|
[entryPoints.http]
|
2018-07-03 10:44:04 +00:00
|
|
|
address = "{{ .PortHTTP }}"
|
2016-12-12 17:30:31 +00:00
|
|
|
[entryPoints.https]
|
2018-07-03 10:44:04 +00:00
|
|
|
address = "{{ .PortHTTPS }}"
|
2016-12-12 17:30:31 +00:00
|
|
|
[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-07-03 10:44:04 +00:00
|
|
|
onDemand = {{ .Acme.OnDemand }}
|
|
|
|
onHostRule = {{ .Acme.OnHostRule }}
|
|
|
|
keyType = "{{ .Acme.KeyType }}"
|
|
|
|
caServer = "{{ .Acme.CAServer }}"
|
2018-06-27 13:08:05 +00:00
|
|
|
|
2018-07-03 10:44:04 +00:00
|
|
|
{{if .Acme.HTTPChallenge }}
|
2018-04-11 14:30:04 +00:00
|
|
|
[acme.httpChallenge]
|
2018-07-03 10:44:04 +00:00
|
|
|
entryPoint = "{{ .Acme.HTTPChallenge.EntryPoint }}"
|
2018-06-27 13:08:05 +00:00
|
|
|
{{end}}
|
2018-03-05 19:54:04 +00:00
|
|
|
|
2018-07-03 10:44:04 +00:00
|
|
|
{{if .Acme.TLSChallenge }}
|
|
|
|
[acme.tlsChallenge]
|
|
|
|
{{end}}
|
|
|
|
|
|
|
|
{{range .Acme.Domains}}
|
2018-06-27 13:08:05 +00:00
|
|
|
[[acme.domains]]
|
|
|
|
main = "{{ .Main }}"
|
|
|
|
sans = [{{range .SANs }}
|
|
|
|
"{{.}}",
|
|
|
|
{{end}}]
|
|
|
|
{{end}}
|
2018-03-05 19:54:04 +00:00
|
|
|
|
|
|
|
[api]
|
2016-12-12 17:30:31 +00:00
|
|
|
|
2018-11-27 16:42:04 +00:00
|
|
|
[providers]
|
|
|
|
[providers.file]
|
2016-12-12 17:30:31 +00:00
|
|
|
|
2018-11-14 09:18:03 +00:00
|
|
|
[services]
|
|
|
|
[services.test.loadbalancer]
|
|
|
|
[[services.test.loadbalancer.servers]]
|
2016-12-12 17:30:31 +00:00
|
|
|
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
|
|
|
|
2018-11-14 09:18:03 +00:00
|
|
|
[routers]
|
|
|
|
[routers.test]
|
|
|
|
service = "test"
|
|
|
|
rule = "Host:traefik.acme.wtf"
|
|
|
|
entryPoints = ["https"]
|