Remove first byte wait when tcp catches all
This commit is contained in:
parent
518a37e776
commit
c1dc783512
5 changed files with 155 additions and 14 deletions
41
integration/fixtures/tcp/catch-all-no-tls-with-https.toml
Normal file
41
integration/fixtures/tcp/catch-all-no-tls-with-https.toml
Normal file
|
@ -0,0 +1,41 @@
|
|||
[global]
|
||||
checkNewVersion = false
|
||||
sendAnonymousUsage = false
|
||||
|
||||
[log]
|
||||
level = "DEBUG"
|
||||
|
||||
[entryPoints]
|
||||
[entryPoints.tcp]
|
||||
address = ":8093"
|
||||
|
||||
[api]
|
||||
|
||||
[providers.file]
|
||||
|
||||
[tcp]
|
||||
[tcp.routers]
|
||||
[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:8086"
|
||||
|
||||
[http]
|
||||
[http.routers]
|
||||
[http.routers.to-whoami]
|
||||
entryPoints = ["tcp"]
|
||||
rule="PathPrefix(`/`)"
|
||||
service = "whoami"
|
||||
[http.routers.to-whoami.tls]
|
||||
|
||||
|
||||
[http.services]
|
||||
[http.services.whoami.loadbalancer]
|
||||
[[http.services.whoami.loadbalancer.servers]]
|
||||
url = "http://localhost:8085"
|
||||
weight=1
|
26
integration/fixtures/tcp/catch-all-no-tls.toml
Normal file
26
integration/fixtures/tcp/catch-all-no-tls.toml
Normal file
|
@ -0,0 +1,26 @@
|
|||
[global]
|
||||
checkNewVersion = false
|
||||
sendAnonymousUsage = false
|
||||
|
||||
[log]
|
||||
level = "DEBUG"
|
||||
|
||||
[entryPoints]
|
||||
[entryPoints.tcp]
|
||||
address = ":8093"
|
||||
|
||||
[api]
|
||||
|
||||
[providers.file]
|
||||
|
||||
[tcp]
|
||||
[tcp.routers]
|
||||
[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:8086"
|
Loading…
Add table
Add a link
Reference in a new issue