mirror of
https://github.com/containous/traefik.git
synced 2024-12-23 17:34:13 +03:00
4a68d29ce2
Co-authored-by: Gérald Croës <gerald@containo.us>
46 lines
953 B
TOML
46 lines
953 B
TOML
[log]
|
|
logLevel = "DEBUG"
|
|
|
|
[entrypoints]
|
|
[entrypoints.web]
|
|
address = "{{ .PortHTTP }}"
|
|
|
|
[entrypoints.web-secure]
|
|
address = "{{ .PortHTTPS }}"
|
|
|
|
[entrypoints.traefik]
|
|
address = ":9000"
|
|
# FIXME
|
|
# [entrypoints.traefik.tls]
|
|
# [entrypoints.traefik.tls.DefaultCertificate]
|
|
# certFile = "fixtures/acme/ssl/wildcard.crt"
|
|
# keyFile = "fixtures/acme/ssl/wildcard.key"
|
|
|
|
[acme]
|
|
email = "test@traefik.io"
|
|
storage = "/tmp/acme.json"
|
|
# entryPoint = "https"
|
|
acmeLogging = true
|
|
onHostRule = {{ .Acme.OnHostRule }}
|
|
keyType = "{{ .Acme.KeyType }}"
|
|
caServer = "{{ .Acme.CAServer }}"
|
|
|
|
{{if .Acme.HTTPChallenge }}
|
|
[acme.httpChallenge]
|
|
entryPoint = "{{ .Acme.HTTPChallenge.EntryPoint }}"
|
|
{{end}}
|
|
|
|
{{if .Acme.TLSChallenge }}
|
|
[acme.tlsChallenge]
|
|
{{end}}
|
|
|
|
{{range .Acme.Domains}}
|
|
[[acme.domains]]
|
|
main = "{{ .Main }}"
|
|
sans = [{{range .SANs }}
|
|
"{{.}}",
|
|
{{end}}]
|
|
{{end}}
|
|
|
|
[api]
|