1
0
mirror of https://github.com/containous/traefik.git synced 2024-12-22 13:34:03 +03:00
traefik/integration/fixtures/acme/acme_base.toml

54 lines
1.2 KiB
TOML
Raw Normal View History

[global]
2019-07-01 12:30:05 +03:00
checkNewVersion = false
sendAnonymousUsage = false
[log]
2019-07-01 12:30:05 +03:00
level = "DEBUG"
2022-11-21 20:36:05 +03:00
noColor = true
[entryPoints]
[entryPoints.web]
address = "{{ .PortHTTP }}"
[entryPoints.websecure]
address = "{{ .PortHTTPS }}"
{{range $name, $resolvers := .Acme }}
[certificatesResolvers.{{ $name }}.acme]
2018-04-11 17:30:04 +03:00
email = "test@traefik.io"
storage = "/tmp/acme.json"
keyType = "{{ $resolvers.ACME.KeyType }}"
caServer = "{{ $resolvers.ACME.CAServer }}"
2018-03-05 22:54:04 +03:00
{{if $resolvers.ACME.HTTPChallenge }}
[certificatesResolvers.{{ $name }}.acme.httpChallenge]
entryPoint = "{{ $resolvers.ACME.HTTPChallenge.EntryPoint }}"
2018-07-03 13:44:04 +03:00
{{end}}
{{if $resolvers.ACME.TLSChallenge }}
[certificatesResolvers.{{ $name }}.acme.tlsChallenge]
2018-06-27 16:08:05 +03:00
{{end}}
2018-03-05 22:54:04 +03:00
{{end}}
2018-03-05 22:54:04 +03:00
[api]
2019-09-06 16:08:04 +03:00
insecure = true
[providers.file]
filename = "{{ .SelfFilename }}"
2019-07-01 12:30:05 +03:00
## dynamic configuration ##
[http.services]
2019-07-01 12:30:05 +03:00
[http.services.test.loadBalancer]
[[http.services.test.loadBalancer.servers]]
url = "http://127.0.0.1:9010"
[http.routers]
[http.routers.test]
entryPoints = ["websecure"]
rule = "Host(`traefik.acme.wtf`)"
service = "test"
[http.routers.test.tls]
certResolver = "default"