4245096be4
Co-authored-by: Jean-Baptiste Doumenjou <jb.doumenjou@gmail.com>
49 lines
1.1 KiB
TOML
49 lines
1.1 KiB
TOML
[global]
|
|
checkNewVersion = false
|
|
sendAnonymousUsage = false
|
|
|
|
[log]
|
|
level = "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 = "service2"
|
|
Rule = "Host(`snitest.org`)"
|
|
[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"
|
|
|
|
[http.services.service2]
|
|
[http.services.service2.LoadBalancer]
|
|
[[http.services.service2.LoadBalancer.Servers]]
|
|
URL = "http://127.0.0.1:9020"
|
|
|
|
[[tls.certificates]]
|
|
certFile = "fixtures/https/snitest.com.cert"
|
|
keyFile = "fixtures/https/snitest.com.key"
|
|
|
|
[[tls.certificates]]
|
|
certFile = "fixtures/https/snitest.org.cert"
|
|
keyFile = "fixtures/https/snitest.org.key"
|
|
|
|
[tls.options]
|
|
[tls.options.default.ClientCA]
|
|
files = ["fixtures/https/clientca/ca1.crt", "fixtures/https/clientca/ca2.crt"]
|
|
optional = false
|