37 lines
908 B
TOML
37 lines
908 B
TOML
|
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"
|
||
|
rule = "HostRegexp: {subdomain:[a-z1-9-]+}.snitest.com"
|
||
|
[Routers.router2]
|
||
|
Service = "service1"
|
||
|
rule = "HostRegexp: {subdomain:[a-z1-9-]+}.www.snitest.com"
|
||
|
|
||
|
[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"
|