1
0
mirror of https://github.com/containous/traefik.git synced 2025-10-28 15:33:31 +03:00

Add a note about how to disable connection reuse with backends

This commit is contained in:
Romain
2025-04-28 09:10:04 +02:00
committed by GitHub
parent 160edff257
commit 9bc71b0010

View File

@@ -325,6 +325,11 @@ serversTransport:
--serversTransport.maxIdleConnsPerHost=7
```
!!! info "Disable connection reuse"
The default value of `maxIdleConnsPerHost` is 2, and the zero value is the fallback to the default (2).
If you want to disable connection reuse, set `maxIdleConnsPerHost` to -1.
### `forwardingTimeouts`
`forwardingTimeouts` is about a number of timeouts relevant to when forwarding requests to the backend servers.