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]
|
|
|
|
[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"
|
|
|
|
Rule = "Host:snitest.com"
|
|
|
|
[Routers.router2]
|
|
|
|
Service = "service1"
|
|
|
|
Rule = "Host:www.snitest.com"
|
|
|
|
|
|
|
|
[Services]
|
|
|
|
[Services.service1]
|
|
|
|
[Services.service1.LoadBalancer]
|
|
|
|
|
|
|
|
[[Services.service1.LoadBalancer.Servers]]
|
|
|
|
URL = "http://127.0.0.1:9010"
|
|
|
|
Weight = 1
|
2018-07-06 08:30:03 +00:00
|
|
|
|
|
|
|
[[tls]]
|
|
|
|
entryPoints = ["https"]
|
|
|
|
[tls.certificate]
|
|
|
|
certFile = "fixtures/https/wildcard.snitest.com.cert"
|
|
|
|
keyFile = "fixtures/https/wildcard.snitest.com.key"
|
|
|
|
|
|
|
|
[[tls]]
|
|
|
|
entryPoints = ["https"]
|
|
|
|
[tls.certificate]
|
|
|
|
certFile = "fixtures/https/www.snitest.com.cert"
|
|
|
|
keyFile = "fixtures/https/www.snitest.com.key"
|