added support for tcp proxyProtocol v1&v2 to backend

This commit is contained in:
Matthias Schneider
2020-11-17 13:04:04 +01:00
committed by GitHub
parent 520fcf82ae
commit 84b125bdde
28 changed files with 388 additions and 83 deletions

View File

@@ -527,6 +527,14 @@ You can declare TCP Routers and/or Services using labels.
- "traefik.tcp.services.mytcpservice.loadbalancer.terminationdelay=100"
```
??? info "`traefik.tcp.services.<service_name>.loadbalancer.proxyprotocol.version`"
See [PROXY protocol](../services/index.md#proxy-protocol) for more information.
```yaml
- "traefik.tcp.services.mytcpservice.loadbalancer.proxyprotocol.version=1"
```
### UDP
You can declare UDP Routers and/or Services using labels.