Add a new protocol
Co-authored-by: Gérald Croës <gerald@containo.us>
This commit is contained in:
parent
0ca2149408
commit
4a68d29ce2
231 changed files with 6895 additions and 4395 deletions
63
integration/fixtures/tcp/non-tls-fallback.toml
Normal file
63
integration/fixtures/tcp/non-tls-fallback.toml
Normal file
|
@ -0,0 +1,63 @@
|
|||
[entrypoints]
|
||||
[entrypoints.tcp]
|
||||
address = ":8093"
|
||||
|
||||
[api]
|
||||
|
||||
[global]
|
||||
debug = true
|
||||
|
||||
[providers.file]
|
||||
|
||||
[tcp]
|
||||
[tcp.routers]
|
||||
[tcp.routers.to-whoami-a]
|
||||
rule = "HostSNI(`whoami-a.test`)"
|
||||
service = "whoami-a"
|
||||
entrypoints = [ "tcp" ]
|
||||
[tcp.routers.to-whoami-a.tls]
|
||||
passthrough=true
|
||||
|
||||
[tcp.routers.to-whoami-b]
|
||||
rule = "HostSNI(`whoami-b.test`)"
|
||||
service = "whoami-b"
|
||||
entrypoints = [ "tcp" ]
|
||||
[tcp.routers.to-whoami-b.tls]
|
||||
passthrough=true
|
||||
|
||||
[tcp.routers.to-whoami-no-cert]
|
||||
rule = "HostSNI(`whoami-c.test`)"
|
||||
service = "whoami-no-cert"
|
||||
entrypoints = [ "tcp" ]
|
||||
[tcp.routers.to-whoami-no-cert.tls]
|
||||
|
||||
[tcp.routers.to-whoami-no-tls]
|
||||
entrypoints = ["tcp"]
|
||||
rule="HostSNI(`*`)"
|
||||
service = "whoami-no-tls"
|
||||
|
||||
[tcp.services]
|
||||
[tcp.services.whoami-no-tls.loadbalancer]
|
||||
[[tcp.services.whoami-no-tls.loadbalancer.servers]]
|
||||
address = "localhost:8084"
|
||||
|
||||
[tcp.services.whoami-a]
|
||||
[tcp.services.whoami-a.loadbalancer]
|
||||
method = "wrr"
|
||||
[[tcp.services.whoami-a.loadbalancer.servers]]
|
||||
address = "localhost:8081"
|
||||
weight = 1
|
||||
|
||||
[tcp.services.whoami-b]
|
||||
[tcp.services.whoami-b.loadbalancer]
|
||||
method = "wrr"
|
||||
[[tcp.services.whoami-b.loadbalancer.servers]]
|
||||
address = "localhost:8082"
|
||||
weight = 1
|
||||
|
||||
[tcp.services.whoami-no-cert]
|
||||
[tcp.services.whoami-no-cert.loadbalancer]
|
||||
method = "wrr"
|
||||
[[tcp.services.whoami-no-cert.loadbalancer.servers]]
|
||||
address = "localhost:8083"
|
||||
weight = 1
|
Loading…
Add table
Add a link
Reference in a new issue