diff options
| author | Ruben Herold <ruben@puettmann.net> | 2026-10-06 11:18:10 +0200 |
|---|---|---|
| committer | Ruben Herold <ruben@puettmann.net> | 2026-10-06 11:18:10 +0200 |
| commit | 3081646df240b41f6b302452a1c5f626a0a9f9ca (patch) | |
| tree | 13ef706b7d07a40692f4d1ff1cc8cdd9caca1166 /docs | |
| parent | 70ffde48e951caea564b558dceeb049f94a37903 (diff) | |
| download | vyos-documentation-3081646df240b41f6b302452a1c5f626a0a9f9ca.tar.gz vyos-documentation-3081646df240b41f6b302452a1c5f626a0a9f9ca.zip | |
haproxy: document backend http-server-close
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/configuration/loadbalancing/haproxy.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/configuration/loadbalancing/haproxy.md b/docs/configuration/loadbalancing/haproxy.md index d60c5248..bdbcf591 100644 --- a/docs/configuration/loadbalancing/haproxy.md +++ b/docs/configuration/loadbalancing/haproxy.md @@ -145,6 +145,19 @@ Balance algorithms: Configure backend *<name>* mode TCP or HTTP. ``` +```{cfgcmd} set load-balancing haproxy backend \<name\> http-server-close + +Close the connection to the backend servers after each response, while +keeping HTTP keep-alive and pipelining on the client side. This gives the +lowest latency for clients on slow networks and reuses server resources +quickly. + +Some servers do not handle the `Connection: close` request header correctly. +Keep-alive is then never used for them. + +The backend must be in `http` mode, otherwise the commit fails. +``` + ```{cfgcmd} set load-balancing haproxy backend \<name\> server \<name\> address \<x.x.x.x\> Set the address of the backend server that receives incoming traffic. |
