traefik/integration/fixtures/https/https_tls_options.toml

82 lines
1.7 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"
[entryPoints]
[entryPoints.web-secure]
2019-07-01 09:30:05 +00:00
address = ":4443"
[api]
[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]
options = "foo"
[http.routers.router2]
2019-07-01 09:30:05 +00:00
service = "service2"
rule = "Host(`snitest.org`)"
[http.routers.router2.tls]
options = "bar"
[http.routers.router3]
2019-07-01 09:30:05 +00:00
service = "service2"
rule = "Host(`snitest.org`)"
[http.routers.router3.tls]
options = "unknown"
[http.routers.router4]
service = "service1"
rule = "Host(`snitest.net`)"
[http.routers.router4.tls]
options = "foo"
[http.routers.router5]
service = "service1"
rule = "Host(`snitest.net`)"
[http.routers.router5.tls]
options = "baz"
[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"
[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]]
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.foo]
2019-07-12 15:50:04 +00:00
minVersion = "VersionTLS11"
[tls.options.baz]
2019-07-12 15:50:04 +00:00
minVersion = "VersionTLS11"
[tls.options.bar]
2019-07-12 15:50:04 +00:00
minVersion = "VersionTLS12"
[tls.options.default]
2019-07-12 15:50:04 +00:00
minVersion = "VersionTLS12"