9ebe3c38b2
Co-authored-by: jbdoumenjou <jb.doumenjou@gmail.com>
43 lines
965 B
TOML
43 lines
965 B
TOML
[log]
|
|
logLevel = "DEBUG"
|
|
|
|
[entryPoints]
|
|
[entryPoints.https]
|
|
address = ":4443"
|
|
[entryPoints.https.tls]
|
|
[entryPoints.https.tls.defaultCertificate]
|
|
certFile = "fixtures/https/snitest.com.cert"
|
|
keyFile = "fixtures/https/snitest.com.key"
|
|
|
|
[api]
|
|
|
|
[providers]
|
|
[providers.file]
|
|
|
|
[Routers]
|
|
[Routers.router1]
|
|
Service = "service1"
|
|
Rule = "Host(`snitest.com`)"
|
|
[Routers.router2]
|
|
Service = "service1"
|
|
Rule = "Host(`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/wildcard.snitest.com.cert"
|
|
keyFile = "fixtures/https/wildcard.snitest.com.key"
|
|
|
|
[[tls]]
|
|
entryPoints = ["https"]
|
|
[tls.certificate]
|
|
certFile = "fixtures/https/www.snitest.com.cert"
|
|
keyFile = "fixtures/https/www.snitest.com.key"
|