traefik/integration/fixtures/acme/acme_tls.toml

57 lines
1.1 KiB
TOML
Raw Normal View History

[log]
logLevel = "DEBUG"
[entrypoints]
[entrypoints.web]
address = "{{ .PortHTTP }}"
[entrypoints.web-secure]
address = "{{ .PortHTTPS }}"
[acme]
2018-06-27 13:08:05 +00:00
email = "test@traefik.io"
storage = "/tmp/acme.json"
# 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}}
{{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]
[providers]
[providers.file]
[http.services]
[http.services.test.loadbalancer]
[[http.services.test.loadbalancer.servers]]
url = "http://127.0.0.1:9010"
2018-04-11 14:30:04 +00:00
weight = 1
[http.routers]
[http.routers.test]
entryPoints = ["web-secure"]
rule = "Host(`traefik.acme.wtf`)"
service = "test"
[http.routers.test.tls]
[tlsStores.default.defaultCertificate]
certFile = "fixtures/acme/ssl/wildcard.crt"
keyFile = "fixtures/acme/ssl/wildcard.key"