Co-authored-by: Julien Salleyron <julien.salleyron@gmail.com> Co-authored-by: Jean-Baptiste Doumenjou <jb.doumenjou@gmail.com>
38 lines
838 B
TOML
38 lines
838 B
TOML
[global]
|
|
checkNewVersion = false
|
|
sendAnonymousUsage = false
|
|
|
|
[log]
|
|
level = "DEBUG"
|
|
|
|
[entryPoints]
|
|
[entryPoints.web]
|
|
address = "{{ .PortHTTP }}"
|
|
[entryPoints.web-secure]
|
|
address = "{{ .PortHTTPS }}"
|
|
|
|
{{range $name, $resolvers := .Acme }}
|
|
|
|
[certificatesResolvers.{{ $name }}.acme]
|
|
email = "test@traefik.io"
|
|
storage = "/tmp/acme.json"
|
|
keyType = "{{ $resolvers.ACME.KeyType }}"
|
|
caServer = "{{ $resolvers.ACME.CAServer }}"
|
|
|
|
{{if $resolvers.ACME.HTTPChallenge }}
|
|
[certificatesResolvers.{{ $name }}.acme.httpChallenge]
|
|
entryPoint = "{{ $resolvers.ACME.HTTPChallenge.EntryPoint }}"
|
|
{{end}}
|
|
|
|
{{if $resolvers.ACME.TLSChallenge }}
|
|
[certificatesResolvers.{{ $name }}.acme.tlsChallenge]
|
|
{{end}}
|
|
|
|
{{end}}
|
|
|
|
[api]
|
|
|
|
[providers]
|
|
[providers.file]
|
|
filename = "fixtures/acme/certificates.toml"
|
|
watch = true
|