52 lines
1 KiB
TOML
52 lines
1 KiB
TOML
logLevel = "DEBUG"
|
|
|
|
defaultEntryPoints = ["http", "https"]
|
|
|
|
[entryPoints]
|
|
[entryPoints.http]
|
|
address = ":5002"
|
|
[entryPoints.https]
|
|
address = ":5001"
|
|
[entryPoints.https.tls]
|
|
[[entryPoints.https.tls.certificates]]
|
|
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
|
|
onDemand = {{ .OnDemand }}
|
|
onHostRule = {{ .OnHostRule }}
|
|
keyType = "{{ .KeyType }}"
|
|
caServer = "{{ .CAServer }}"
|
|
|
|
{{if .HTTPChallenge }}
|
|
[acme.httpChallenge]
|
|
entryPoint = "{{ .HTTPChallenge.EntryPoint }}"
|
|
{{end}}
|
|
|
|
{{range .Domains}}
|
|
[[acme.domains]]
|
|
main = "{{ .Main }}"
|
|
sans = [{{range .SANs }}
|
|
"{{.}}",
|
|
{{end}}]
|
|
{{end}}
|
|
|
|
[api]
|
|
|
|
[file]
|
|
|
|
[backends]
|
|
[backends.backend]
|
|
[backends.backend.servers.server1]
|
|
url = "http://127.0.0.1:9010"
|
|
weight = 1
|
|
|
|
[frontends]
|
|
[frontends.frontend]
|
|
backend = "backend"
|
|
[frontends.frontend.routes.test]
|
|
rule = "Host:traefik.acme.wtf"
|