traefik/integration/fixtures/acme/acme_tls_dynamic.toml

40 lines
790 B
TOML
Raw Normal View History

2018-06-27 13:08:05 +00:00
logLevel = "DEBUG"
defaultEntryPoints = ["http", "https"]
[entryPoints]
[entryPoints.http]
2018-07-03 10:44:04 +00:00
address = "{{ .PortHTTP }}"
2018-06-27 13:08:05 +00:00
[entryPoints.https]
2018-07-03 10:44:04 +00:00
address = "{{ .PortHTTPS }}"
2018-06-27 13:08:05 +00:00
[entryPoints.https.tls]
[acme]
email = "test@traefik.io"
storage = "/tmp/acme.json"
entryPoint = "https"
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-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-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]
[file]
filename = "fixtures/acme/certificates.toml"
watch = true