2018-11-26 09:38:03 +00:00
|
|
|
logLevel = "DEBUG"
|
|
|
|
|
|
|
|
[entryPoints]
|
|
|
|
[entryPoints.https]
|
|
|
|
address = ":4443"
|
|
|
|
[entryPoints.https.tls]
|
|
|
|
[entryPoints.https.tls.defaultCertificate]
|
|
|
|
certFile = "fixtures/https/wildcard.snitest.com.cert"
|
|
|
|
keyFile = "fixtures/https/wildcard.snitest.com.key"
|
|
|
|
|
|
|
|
[api]
|
|
|
|
|
|
|
|
[providers]
|
|
|
|
[providers.file]
|
|
|
|
|
|
|
|
[Routers]
|
|
|
|
[Routers.router1]
|
|
|
|
Service = "service1"
|
2019-01-30 15:24:07 +00:00
|
|
|
rule = "HostRegexp(`{subdomain:[a-z1-9-]+}.snitest.com`)"
|
2018-11-26 09:38:03 +00:00
|
|
|
[Routers.router2]
|
|
|
|
Service = "service1"
|
2019-01-30 15:24:07 +00:00
|
|
|
rule = "HostRegexp(`{subdomain:[a-z1-9-]+}.www.snitest.com`)"
|
2018-11-26 09:38:03 +00:00
|
|
|
|
|
|
|
[Services]
|
|
|
|
[Services.service1]
|
|
|
|
[Services.service1.LoadBalancer]
|
|
|
|
|
|
|
|
[[Services.service1.LoadBalancer.Servers]]
|
|
|
|
URL = "http://127.0.0.1:9010"
|
|
|
|
Weight = 1
|
|
|
|
|
|
|
|
[[tls]]
|
|
|
|
entryPoints = ["https"]
|
|
|
|
[tls.certificate]
|
|
|
|
certFile = "fixtures/https/uppercase_wildcard.www.snitest.com.cert"
|
|
|
|
keyFile = "fixtures/https/uppercase_wildcard.www.snitest.com.key"
|