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

55 lines
1.2 KiB
TOML
Raw Normal View History

[global]
2019-07-01 09:30:05 +00:00
checkNewVersion = false
sendAnonymousUsage = false
[log]
2019-07-01 09:30:05 +00:00
level = "DEBUG"
2022-11-21 17:36:05 +00:00
noColor = true
[entryPoints]
[entryPoints.websecure]
2019-07-01 09:30:05 +00:00
address = ":4443"
[api]
2019-09-06 13:08:04 +00:00
insecure = true
[providers.file]
filename = "{{ .SelfFilename }}"
2019-07-01 09:30:05 +00:00
## dynamic configuration ##
[http.routers]
[http.routers.router1]
2019-07-01 09:30:05 +00:00
service = "service1"
rule = "Host(`snitest.com`)"
[http.routers.router1.tls]
[http.routers.router2]
2019-07-01 09:30:05 +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]
2019-07-01 09:30:05 +00:00
[http.services.service1.loadBalancer]
[[http.services.service1.loadBalancer.servers]]
url = "http://127.0.0.1:9010"
2018-11-14 09:18:03 +00:00
[http.services.service2]
2019-07-01 09:30:05 +00:00
[http.services.service2.loadBalancer]
[[http.services.service2.loadBalancer.servers]]
url = "http://127.0.0.1:9020"
[[tls.certificates]]
2019-07-01 09:30:05 +00:00
certFile = "fixtures/https/snitest.com.cert"
keyFile = "fixtures/https/snitest.com.key"
[[tls.certificates]]
2019-07-01 09:30:05 +00:00
certFile = "fixtures/https/snitest.org.cert"
keyFile = "fixtures/https/snitest.org.key"
[tls.options]
2019-07-12 15:50:04 +00:00
[tls.options.default.clientAuth]
caFiles = ["fixtures/https/clientca/ca1.crt"]
clientAuthType = "VerifyClientCertIfGiven"