4245096be4
Co-authored-by: Jean-Baptiste Doumenjou <jb.doumenjou@gmail.com>
60 lines
1.2 KiB
TOML
60 lines
1.2 KiB
TOML
[global]
|
|
checkNewVersion = false
|
|
sendAnonymousUsage = false
|
|
|
|
[log]
|
|
level = "DEBUG"
|
|
|
|
[entryPoints]
|
|
[entryPoints.web]
|
|
address = "{{ .PortHTTP }}"
|
|
[entryPoints.web-secure]
|
|
address = "{{ .PortHTTPS }}"
|
|
|
|
[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]
|
|
|
|
[providers]
|
|
[providers.file]
|
|
|
|
[http.services]
|
|
[http.services.test.loadbalancer]
|
|
[[http.services.test.loadbalancer.servers]]
|
|
url = "http://127.0.0.1:9010"
|
|
|
|
[http.routers]
|
|
[http.routers.test]
|
|
entryPoints = ["web-secure"]
|
|
rule = "Host(`traefik.acme.wtf`)"
|
|
service = "test"
|
|
[http.routers.test.tls]
|
|
|
|
[tls.stores]
|
|
[tls.stores.default.defaultCertificate]
|
|
certFile = "fixtures/acme/ssl/wildcard.crt"
|
|
keyFile = "fixtures/acme/ssl/wildcard.key"
|