43 lines
995 B
TOML
43 lines
995 B
TOML
[log]
|
|
logLevel = "DEBUG"
|
|
|
|
[entrypoints]
|
|
[entrypoints.web-secure]
|
|
address = ":4443"
|
|
|
|
[api]
|
|
|
|
[providers]
|
|
[providers.file]
|
|
|
|
[http.routers]
|
|
[http.routers.router1]
|
|
service = "service1"
|
|
rule = "Host(`snitest.com`)"
|
|
[http.routers.router1.tls]
|
|
|
|
[http.routers.router2]
|
|
service = "service1"
|
|
rule = "Host(`www.snitest.com`)"
|
|
[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"
|
|
weight = 1
|
|
|
|
[[tls]]
|
|
[tls.certificate]
|
|
certFile = "fixtures/https/wildcard.snitest.com.cert"
|
|
keyFile = "fixtures/https/wildcard.snitest.com.key"
|
|
|
|
[[tls]]
|
|
[tls.certificate]
|
|
certFile = "fixtures/https/www.snitest.com.cert"
|
|
keyFile = "fixtures/https/www.snitest.com.key"
|
|
|
|
[tlsStores.default.DefaultCertificate]
|
|
certFile = "fixtures/https/snitest.com.cert"
|
|
keyFile = "fixtures/https/snitest.com.key"
|