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

54 lines
1.1 KiB
TOML
Raw Normal View History

[global]
checkNewVersion = false
sendAnonymousUsage = false
[log]
logLevel = "DEBUG"
[entrypoints]
[entrypoints.web-secure]
address = ":4443"
[api]
[providers]
[providers.file]
[http.routers]
[http.routers.router1]
2018-11-14 09:18:03 +00:00
Service = "service1"
Rule = "Host(`snitest.com`)"
[http.routers.router1.tls]
[http.routers.router2]
2018-11-14 09:18:03 +00:00
Service = "service2"
Rule = "Host(`snitest.org`)"
[http.routers.router2.tls]
2018-11-14 09:18:03 +00:00
[http.services]
[http.services.service1]
[http.services.service1.LoadBalancer]
[[http.services.service1.LoadBalancer.Servers]]
2018-11-14 09:18:03 +00:00
URL = "http://127.0.0.1:9010"
Weight = 1
[http.services.service2]
[http.services.service2.LoadBalancer]
[[http.services.service2.LoadBalancer.Servers]]
2018-11-14 09:18:03 +00:00
URL = "http://127.0.0.1:9020"
Weight = 1
[[tls]]
[tls.certificate]
certFile = "fixtures/https/snitest.com.cert"
keyFile = "fixtures/https/snitest.com.key"
[[tls]]
[tls.certificate]
certFile = "fixtures/https/snitest.org.cert"
keyFile = "fixtures/https/snitest.org.key"
[tlsOptions.default.ClientCA]
files = ["fixtures/https/clientca/ca1.crt"]
optional = true