41 lines
1,002 B
TOML
41 lines
1,002 B
TOML
[global]
|
|
checkNewVersion = false
|
|
sendAnonymousUsage = false
|
|
|
|
[log]
|
|
level = "DEBUG"
|
|
|
|
[entryPoints]
|
|
[entryPoints.web-secure]
|
|
address = ":4443"
|
|
|
|
[api]
|
|
|
|
[providers]
|
|
[providers.file]
|
|
|
|
[http.routers]
|
|
[http.routers.router1]
|
|
rule = "HostRegexp(`{subdomain:[a-z1-9-]+}.snitest.com`)"
|
|
service = "service1"
|
|
[http.routers.router1.tls]
|
|
|
|
[http.routers.router2]
|
|
rule = "HostRegexp(`{subdomain:[a-z1-9-]+}.www.snitest.com`)"
|
|
service = "service1"
|
|
[http.routers.router2.tls]
|
|
|
|
[http.services]
|
|
[http.services.service1]
|
|
[http.services.service1.LoadBalancer]
|
|
[[http.services.service1.LoadBalancer.Servers]]
|
|
url = "http://127.0.0.1:9010"
|
|
|
|
[[tls.certificates]]
|
|
certFile = "fixtures/https/uppercase_wildcard.www.snitest.com.cert"
|
|
keyFile = "fixtures/https/uppercase_wildcard.www.snitest.com.key"
|
|
|
|
[tls.stores]
|
|
[tls.stores.default.DefaultCertificate]
|
|
certFile = "fixtures/https/wildcard.snitest.com.cert"
|
|
keyFile = "fixtures/https/wildcard.snitest.com.key"
|