2018-07-06 08:30:03 +00:00
|
|
|
logLevel = "DEBUG"
|
|
|
|
|
|
|
|
defaultEntryPoints = ["https"]
|
|
|
|
|
|
|
|
[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]
|
|
|
|
|
|
|
|
[file]
|
|
|
|
|
2018-11-14 09:18:03 +00:00
|
|
|
[Routers]
|
|
|
|
[Routers.router1]
|
|
|
|
Service = "service1"
|
|
|
|
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
|