2019-04-09 18:24:05 +03:00
[ global ]
2019-07-01 12:30:05 +03:00
checkNewVersion = false
sendAnonymousUsage = false
2019-04-09 18:24:05 +03:00
2018-11-27 19:42:04 +03:00
[ log ]
2019-07-01 12:30:05 +03:00
level = "DEBUG"
2022-11-21 20:36:05 +03:00
noColor = true
2016-12-12 20:30:31 +03:00
2019-04-15 12:14:05 +03:00
[ entryPoints ]
[ entryPoints . web ]
2019-03-14 11:30:04 +03:00
address = "{{ .PortHTTP }}"
2020-01-23 18:36:08 +03:00
[ entryPoints . websecure ]
2019-03-14 11:30:04 +03:00
address = "{{ .PortHTTPS }}"
2016-12-12 20:30:31 +03:00
2019-07-19 12:52:04 +03:00
{ { range $ name , $ resolvers : = . Acme } }
[ certificatesResolvers . { { $ name } } . acme ]
2018-04-11 17:30:04 +03:00
email = "test@traefik.io"
storage = "/tmp/acme.json"
2019-07-19 12:52:04 +03:00
keyType = "{{ $resolvers.ACME.KeyType }}"
caServer = "{{ $resolvers.ACME.CAServer }}"
2018-03-05 22:54:04 +03:00
2019-07-19 12:52: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 } }
2019-07-19 12:52:04 +03:00
{ { 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
2019-07-19 12:52:04 +03:00
{ { end } }
2018-03-05 22:54:04 +03:00
[ api ]
2019-09-06 16:08:04 +03:00
insecure = true
2016-12-12 20:30:31 +03:00
2019-07-15 11:22:03 +03:00
[ providers . file ]
filename = "{{ .SelfFilename }}"
2019-07-01 12:30:05 +03:00
## dynamic configuration ##
2016-12-12 20:30:31 +03:00
2019-03-14 11:30:04 +03:00
[ http . services ]
2019-07-01 12:30:05 +03:00
[ http . services . test . loadBalancer ]
[ [ http . services . test . loadBalancer . servers ] ]
2019-03-14 11:30:04 +03:00
url = "http://127.0.0.1:9010"
[ http . routers ]
[ http . routers . test ]
2020-01-23 18:36:08 +03:00
entryPoints = [ "websecure" ]
2019-03-14 11:30:04 +03:00
rule = "Host(`traefik.acme.wtf`)"
service = "test"
[ http . routers . test . tls ]
2019-07-19 12:52:04 +03:00
certResolver = "default"