2019-06-17 18:14:08 +02:00
[ global ]
2019-07-01 11:30:05 +02:00
checkNewVersion = false
sendAnonymousUsage = false
2019-06-17 18:14:08 +02:00
[ log ]
2019-07-01 11:30:05 +02:00
level = "DEBUG"
2022-11-21 18:36:05 +01:00
noColor = true
2019-06-17 18:14:08 +02:00
[ entryPoints ]
2020-01-23 16:36:08 +01:00
[ entryPoints . websecure ]
2019-07-01 11:30:05 +02:00
address = ":4443"
2019-06-17 18:14:08 +02:00
[ api ]
2019-09-06 15:08:04 +02:00
insecure = true
2019-06-17 18:14:08 +02:00
2019-07-15 10:22:03 +02:00
[ providers . file ]
filename = "{{ .SelfFilename }}"
2019-07-01 11:30:05 +02:00
## dynamic configuration ##
2019-06-17 18:14:08 +02:00
[ http . routers ]
[ http . routers . router1 ]
2019-07-01 11:30:05 +02:00
service = "service1"
rule = "Host(`snitest.com`)"
2019-06-17 18:14:08 +02:00
[ http . routers . router1 . tls ]
options = "foo"
[ http . routers . router2 ]
2019-07-01 11:30:05 +02:00
service = "service2"
rule = "Host(`snitest.org`)"
2019-06-17 18:14:08 +02:00
[ http . routers . router2 . tls ]
options = "bar"
[ http . routers . router3 ]
2019-07-01 11:30:05 +02:00
service = "service2"
rule = "Host(`snitest.org`)"
2019-06-17 18:14:08 +02:00
[ http . routers . router3 . tls ]
options = "unknown"
2019-07-03 19:22:05 +02:00
[ http . routers . router4 ]
service = "service1"
rule = "Host(`snitest.net`)"
[ http . routers . router4 . tls ]
options = "foo"
[ http . routers . router5 ]
service = "service1"
rule = "Host(`snitest.net`)"
[ http . routers . router5 . tls ]
options = "baz"
2019-06-17 18:14:08 +02:00
[ http . services ]
[ http . services . service1 ]
2019-07-01 11:30:05 +02:00
[ http . services . service1 . loadBalancer ]
[ [ http . services . service1 . loadBalancer . servers ] ]
url = "http://127.0.0.1:9010"
2019-06-17 18:14:08 +02:00
[ http . services . service2 ]
2019-07-01 11:30:05 +02:00
[ http . services . service2 . loadBalancer ]
[ [ http . services . service2 . loadBalancer . servers ] ]
url = "http://127.0.0.1:9020"
2019-06-17 18:14:08 +02:00
2019-06-27 23:58:03 +02:00
[ [ tls . certificates ] ]
certFile = "fixtures/https/snitest.com.cert"
keyFile = "fixtures/https/snitest.com.key"
2019-06-17 18:14:08 +02:00
2019-06-27 23:58:03 +02:00
[ [ tls . certificates ] ]
certFile = "fixtures/https/snitest.org.cert"
keyFile = "fixtures/https/snitest.org.key"
2019-06-17 18:14:08 +02:00
2019-06-27 23:58:03 +02:00
[ tls . options ]
[ tls . options . foo ]
2019-07-12 17:50:04 +02:00
minVersion = "VersionTLS11"
2019-06-17 18:14:08 +02:00
2019-07-03 19:22:05 +02:00
[ tls . options . baz ]
2019-07-12 17:50:04 +02:00
minVersion = "VersionTLS11"
2019-07-03 19:22:05 +02:00
2019-06-27 23:58:03 +02:00
[ tls . options . bar ]
2019-07-12 17:50:04 +02:00
minVersion = "VersionTLS12"
2019-07-03 19:22:05 +02:00
[ tls . options . default ]
2019-07-12 17:50:04 +02:00
minVersion = "VersionTLS12"