traefik/integration/fixtures/https/clientca/https_2ca2config.toml

51 lines
1.1 KiB
TOML
Raw Normal View History

[log]
logLevel = "DEBUG"
[entryPoints]
[entryPoints.https]
address = ":4443"
[entryPoints.https.tls]
2017-11-10 09:30:04 +00:00
[entryPoints.https.tls.ClientCA]
files = ["fixtures/https/clientca/ca1.crt", "fixtures/https/clientca/ca2.crt"]
optional = false
[api]
[providers]
[providers.file]
2018-11-14 09:18:03 +00:00
[Routers]
[Routers.router1]
Service = "service1"
Rule = "Host(`snitest.com`)"
2018-11-14 09:18:03 +00:00
[Routers.router2]
Service = "service2"
Rule = "Host(`snitest.org`)"
2018-11-14 09:18:03 +00:00
[Services]
[Services.service1]
[Services.service1.LoadBalancer]
2018-11-14 09:18:03 +00:00
[[Services.service1.LoadBalancer.Servers]]
URL = "http://127.0.0.1:9010"
Weight = 1
[Services.service2]
[Services.service2.LoadBalancer]
[[Services.service2.LoadBalancer.Servers]]
URL = "http://127.0.0.1:9020"
Weight = 1
[[tls]]
entryPoints = ["https"]
[tls.certificate]
certFile = "fixtures/https/snitest.com.cert"
keyFile = "fixtures/https/snitest.com.key"
[[tls]]
entryPoints = ["https"]
[tls.certificate]
certFile = "fixtures/https/snitest.org.cert"
keyFile = "fixtures/https/snitest.org.key"