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"
|
2018-06-27 13:08:05 +00:00
|
|
|
|
2019-04-15 09:14:05 +00:00
|
|
|
[entryPoints]
|
|
|
|
[entryPoints.web]
|
2019-07-19 09:52:04 +00:00
|
|
|
address = "{{ .PortHTTP }}"
|
2020-01-23 15:36:08 +00:00
|
|
|
[entryPoints.websecure]
|
2019-07-19 09:52:04 +00:00
|
|
|
address = "{{ .PortHTTPS }}"
|
2018-06-27 13:08:05 +00:00
|
|
|
|
2019-07-19 09:52:04 +00:00
|
|
|
{{range $name, $resolvers := .Acme }}
|
|
|
|
|
|
|
|
[certificatesResolvers.{{ $name }}.acme]
|
2018-06-27 13:08:05 +00:00
|
|
|
email = "test@traefik.io"
|
|
|
|
storage = "/tmp/acme.json"
|
2019-07-19 09:52:04 +00:00
|
|
|
keyType = "{{ $resolvers.ACME.KeyType }}"
|
|
|
|
caServer = "{{ $resolvers.ACME.CAServer }}"
|
|
|
|
|
|
|
|
{{if $resolvers.ACME.HTTPChallenge }}
|
|
|
|
[certificatesResolvers.{{ $name }}.acme.httpChallenge]
|
|
|
|
entryPoint = "{{ $resolvers.ACME.HTTPChallenge.EntryPoint }}"
|
2018-06-27 13:08:05 +00:00
|
|
|
{{end}}
|
|
|
|
|
2019-07-19 09:52:04 +00:00
|
|
|
{{if $resolvers.ACME.TLSChallenge }}
|
|
|
|
[certificatesResolvers.{{ $name }}.acme.tlsChallenge]
|
2018-06-27 13:08:05 +00:00
|
|
|
{{end}}
|
|
|
|
|
2019-07-19 09:52:04 +00:00
|
|
|
{{end}}
|
|
|
|
|
2018-06-27 13:08:05 +00:00
|
|
|
[api]
|
2019-09-06 13:08:04 +00:00
|
|
|
insecure = true
|
2018-06-27 13:08:05 +00:00
|
|
|
|
2018-11-27 16:42:04 +00:00
|
|
|
[providers]
|
2019-07-01 09:30:05 +00:00
|
|
|
[providers.file]
|
|
|
|
filename = "fixtures/acme/certificates.toml"
|
|
|
|
watch = true
|