2019-04-09 15:24:05 +00:00
|
|
|
[global]
|
2019-07-01 09:30:05 +00:00
|
|
|
checkNewVersion = false
|
|
|
|
sendAnonymousUsage = false
|
2019-04-09 15:24:05 +00:00
|
|
|
|
2018-11-27 16:42:04 +00:00
|
|
|
[log]
|
2019-07-01 09:30:05 +00:00
|
|
|
level = "DEBUG"
|
2019-03-14 08:30:04 +00:00
|
|
|
|
2019-04-15 09:14:05 +00:00
|
|
|
[entryPoints]
|
|
|
|
[entryPoints.web]
|
2019-03-14 08:30:04 +00:00
|
|
|
address = "{{ .PortHTTP }}"
|
2019-04-15 09:14:05 +00:00
|
|
|
[entryPoints.web-secure]
|
2019-03-14 08:30:04 +00:00
|
|
|
address = "{{ .PortHTTPS }}"
|
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"
|
2019-03-14 08:30:04 +00:00
|
|
|
# entryPoint = "https"
|
2018-06-27 13:08:05 +00:00
|
|
|
acmeLogging = true
|
2018-07-03 10:44:04 +00:00
|
|
|
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-06-27 13:08:05 +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-07-12 17:10:03 +00:00
|
|
|
{{if .Acme.TLSChallenge }}
|
|
|
|
[acme.tlsChallenge]
|
|
|
|
{{end}}
|
|
|
|
|
2018-07-03 10:44:04 +00:00
|
|
|
{{range .Acme.Domains}}
|
2018-06-27 13:08:05 +00:00
|
|
|
[[acme.domains]]
|
|
|
|
main = "{{ .Main }}"
|
|
|
|
sans = [{{range .SANs }}
|
|
|
|
"{{.}}",
|
|
|
|
{{end}}]
|
|
|
|
{{end}}
|
|
|
|
|
|
|
|
[api]
|
2017-06-19 11:22:41 +00:00
|
|
|
|
2018-11-27 16:42:04 +00:00
|
|
|
[providers]
|
2019-07-01 09:30:05 +00:00
|
|
|
[providers.file]
|
|
|
|
|
|
|
|
## dynamic configuration ##
|
2017-06-19 11:22:41 +00:00
|
|
|
|
2019-03-14 08:30:04 +00:00
|
|
|
[http.services]
|
2019-07-01 09:30:05 +00:00
|
|
|
[http.services.test.loadBalancer]
|
|
|
|
[[http.services.test.loadBalancer.servers]]
|
|
|
|
url = "http://127.0.0.1:9010"
|
2017-06-19 11:22:41 +00:00
|
|
|
|
2019-03-14 08:30:04 +00:00
|
|
|
[http.routers]
|
|
|
|
[http.routers.test]
|
2019-07-01 09:30:05 +00:00
|
|
|
entryPoints = ["web-secure"]
|
|
|
|
rule = "Host(`traefik.acme.wtf`)"
|
|
|
|
service = "test"
|
|
|
|
[http.routers.test.tls]
|
2019-03-14 08:30:04 +00:00
|
|
|
|
2019-06-27 21:58:03 +00:00
|
|
|
[tls.stores]
|
|
|
|
[tls.stores.default.defaultCertificate]
|
|
|
|
certFile = "fixtures/acme/ssl/wildcard.crt"
|
|
|
|
keyFile = "fixtures/acme/ssl/wildcard.key"
|