2018-11-26 09:38:03 +00:00
|
|
|
logLevel = "DEBUG"
|
|
|
|
|
2019-03-14 08:30:04 +00:00
|
|
|
[entrypoints]
|
|
|
|
[entrypoints.web-secure]
|
|
|
|
address = ":4443"
|
2018-11-26 09:38:03 +00:00
|
|
|
|
|
|
|
[api]
|
|
|
|
|
|
|
|
[providers]
|
|
|
|
[providers.file]
|
|
|
|
|
2019-03-14 08:30:04 +00:00
|
|
|
[http.routers]
|
|
|
|
[http.routers.router1]
|
2019-01-30 15:24:07 +00:00
|
|
|
rule = "HostRegexp(`{subdomain:[a-z1-9-]+}.snitest.com`)"
|
2019-03-14 08:30:04 +00:00
|
|
|
service = "service1"
|
|
|
|
[http.routers.router1.tls]
|
2018-11-26 09:38:03 +00:00
|
|
|
|
2019-03-14 08:30:04 +00:00
|
|
|
[http.routers.router2]
|
|
|
|
rule = "HostRegexp(`{subdomain:[a-z1-9-]+}.www.snitest.com`)"
|
|
|
|
service = "service1"
|
|
|
|
[http.routers.router2.tls]
|
2018-11-26 09:38: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-26 09:38:03 +00:00
|
|
|
|
|
|
|
[[tls]]
|
|
|
|
[tls.certificate]
|
|
|
|
certFile = "fixtures/https/uppercase_wildcard.www.snitest.com.cert"
|
|
|
|
keyFile = "fixtures/https/uppercase_wildcard.www.snitest.com.key"
|
2019-03-14 08:30:04 +00:00
|
|
|
|
|
|
|
[tlsStores.default.DefaultCertificate]
|
|
|
|
certFile = "fixtures/https/wildcard.snitest.com.cert"
|
|
|
|
keyFile = "fixtures/https/wildcard.snitest.com.key"
|