2019-04-09 15:24:05 +00:00
|
|
|
[global]
|
|
|
|
checkNewVersion = false
|
|
|
|
sendAnonymousUsage = false
|
|
|
|
|
2018-11-27 16:42:04 +00:00
|
|
|
[log]
|
2019-04-09 15:24:05 +00:00
|
|
|
logLevel = "DEBUG"
|
2018-07-06 08:30:03 +00:00
|
|
|
|
2019-04-15 09:14:05 +00:00
|
|
|
[entryPoints]
|
|
|
|
[entryPoints.web-secure]
|
2019-03-14 08:30:04 +00:00
|
|
|
address = ":4443"
|
2018-07-06 08:30:03 +00:00
|
|
|
|
|
|
|
[api]
|
|
|
|
|
2018-11-27 16:42:04 +00:00
|
|
|
[providers]
|
|
|
|
[providers.file]
|
2018-07-06 08:30:03 +00:00
|
|
|
|
2019-03-14 08:30:04 +00:00
|
|
|
[http.routers]
|
|
|
|
[http.routers.router1]
|
|
|
|
service = "service1"
|
|
|
|
rule = "Host(`snitest.com`)"
|
|
|
|
[http.routers.router1.tls]
|
2018-07-06 08:30:03 +00:00
|
|
|
|
2019-03-14 08:30:04 +00:00
|
|
|
[http.routers.router2]
|
|
|
|
service = "service1"
|
|
|
|
rule = "Host(`www.snitest.com`)"
|
|
|
|
[http.routers.router2.tls]
|
2018-11-14 09:18:03 +00:00
|
|
|
|
2019-03-14 08:30:04 +00:00
|
|
|
[http.services]
|
|
|
|
[http.services.service1]
|
|
|
|
[http.services.service1.LoadBalancer]
|
|
|
|
[[http.services.service1.LoadBalancer.Servers]]
|
|
|
|
url = "http://127.0.0.1:9010"
|
|
|
|
weight = 1
|
2018-11-27 16:42:04 +00:00
|
|
|
|
|
|
|
[[tls]]
|
|
|
|
[tls.certificate]
|
|
|
|
certFile = "fixtures/https/wildcard.snitest.com.cert"
|
|
|
|
keyFile = "fixtures/https/wildcard.snitest.com.key"
|
2019-03-14 08:30:04 +00:00
|
|
|
|
2018-11-27 16:42:04 +00:00
|
|
|
[[tls]]
|
|
|
|
[tls.certificate]
|
|
|
|
certFile = "fixtures/https/www.snitest.com.cert"
|
|
|
|
keyFile = "fixtures/https/www.snitest.com.key"
|
|
|
|
|
2019-03-14 08:30:04 +00:00
|
|
|
[tlsStores.default.DefaultCertificate]
|
|
|
|
certFile = "fixtures/https/snitest.com.cert"
|
|
|
|
keyFile = "fixtures/https/snitest.com.key"
|