2018-11-27 16:42:04 +00:00
|
|
|
[log]
|
2018-07-06 08:30:03 +00:00
|
|
|
logLevel = "DEBUG"
|
|
|
|
|
|
|
|
|
|
|
|
[entryPoints]
|
|
|
|
[entryPoints.https]
|
|
|
|
address = ":4443"
|
|
|
|
[entryPoints.https.tls]
|
|
|
|
sniStrict = true
|
|
|
|
[entryPoints.https.tls.defaultCertificate]
|
|
|
|
certFile = "fixtures/https/snitest.com.cert"
|
|
|
|
keyFile = "fixtures/https/snitest.com.key"
|
|
|
|
|
|
|
|
[api]
|
|
|
|
|
2018-11-27 16:42:04 +00:00
|
|
|
[providers]
|
|
|
|
[providers.file]
|
2018-07-06 08:30:03 +00:00
|
|
|
|
2018-11-14 09:18:03 +00:00
|
|
|
[Routers]
|
|
|
|
[Routers.router1]
|
|
|
|
Service = "service1"
|
2019-01-30 15:24:07 +00:00
|
|
|
Rule = "Host(`snitest.com`)"
|
2018-07-06 08:30:03 +00:00
|
|
|
|
2018-11-14 09:18:03 +00:00
|
|
|
[Services]
|
|
|
|
[Services.service1]
|
|
|
|
[Services.service1.LoadBalancer]
|
|
|
|
|
|
|
|
[[Services.service1.LoadBalancer.Servers]]
|
|
|
|
URL = "http://127.0.0.1:9010"
|
|
|
|
Weight = 1
|