traefik/integration/fixtures/tcp/multi-tls-options.toml

48 lines
999 B
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.tcp]
address = ":8093"
[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 ##
[tcp]
2019-07-01 09:30:05 +00:00
[tcp.routers]
[tcp.routers.to-whoami-no-cert]
rule = "HostSNI(`whoami-c.test`)"
service = "whoami-no-cert"
entryPoints = [ "tcp" ]
[tcp.routers.to-whoami-no-cert.tls]
options = "foo"
[tcp.routers.to-whoami-sni-strict]
rule = "HostSNI(`whoami-d.test`)"
service = "whoami-no-cert"
entryPoints = [ "tcp" ]
[tcp.routers.to-whoami-sni-strict.tls]
options = "bar"
[tcp.services.whoami-no-cert]
[tcp.services.whoami-no-cert.loadBalancer]
[[tcp.services.whoami-no-cert.loadBalancer.servers]]
address = "{{ .WhoamiNoCert }}"
[tls.options]
[tls.options.foo]
2019-07-12 15:50:04 +00:00
minVersion = "VersionTLS11"
[tls.options.bar]
2019-07-12 15:50:04 +00:00
minVersion = "VersionTLS12"