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
2018-07-06 11:30:03 +03:00
2019-04-15 12:14:05 +03:00
[ entryPoints ]
2020-01-23 18:36:08 +03:00
[ entryPoints . websecure ]
2019-07-01 12:30:05 +03:00
address = ":4443"
2018-07-06 11:30:03 +03:00
[ api ]
2019-09-06 16:08:04 +03:00
insecure = true
2018-07-06 11:30:03 +03:00
2019-07-15 11:22:03 +03:00
[ providers . file ]
filename = "{{ .SelfFilename }}"
2019-07-01 12:30:05 +03:00
## dynamic configuration ##
2018-07-06 11:30:03 +03:00
2019-03-14 11:30:04 +03:00
[ http . routers ]
[ http . routers . router1 ]
service = "service1"
rule = "Host(`snitest.com`)"
[ http . routers . router1 . tls ]
2018-07-06 11:30:03 +03:00
2019-03-14 11:30:04 +03:00
[ http . routers . router2 ]
service = "service1"
rule = "Host(`www.snitest.com`)"
[ http . routers . router2 . tls ]
2018-11-14 12:18:03 +03:00
2019-03-14 11:30:04 +03:00
[ http . services ]
[ http . services . service1 ]
2019-07-01 12:30:05 +03:00
[ http . services . service1 . loadBalancer ]
[ [ http . services . service1 . loadBalancer . servers ] ]
2019-03-14 11:30:04 +03:00
url = "http://127.0.0.1:9010"
2018-11-27 19:42:04 +03:00
2019-06-28 00:58:03 +03:00
[ [ tls . certificates ] ]
certFile = "fixtures/https/wildcard.snitest.com.cert"
keyFile = "fixtures/https/wildcard.snitest.com.key"
2019-03-14 11:30:04 +03:00
2019-06-28 00:58:03 +03:00
[ [ tls . certificates ] ]
certFile = "fixtures/https/www.snitest.com.cert"
keyFile = "fixtures/https/www.snitest.com.key"
2018-11-27 19:42:04 +03:00
2019-06-28 00:58:03 +03:00
[ tls . stores ]
2019-07-01 12:30:05 +03:00
[ tls . stores . default . defaultCertificate ]
2019-03-14 11:30:04 +03:00
certFile = "fixtures/https/snitest.com.cert"
keyFile = "fixtures/https/snitest.com.key"