summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAlexandr K. <o.kuchmystyi@vyos.io>2025-10-22 11:12:13 +0300
committerGitHub <noreply@github.com>2025-10-22 09:12:13 +0100
commit952837766d2d27251a8a60093c9a33521c5e4566 (patch)
tree7cf13bf25f56dc67f5de54b5c6b0d131a5259faa /docs
parent93545cfbc85b4cbe08e6e748d1b7769f83ef844c (diff)
downloadvyos-documentation-952837766d2d27251a8a60093c9a33521c5e4566.tar.gz
vyos-documentation-952837766d2d27251a8a60093c9a33521c5e4566.zip
haproxy: T7906: Probing of a port other than the one to which normal traffic is sent (#1697)
* haproxy: T7906: Probing of a port other than the one to which normal traffic is sent Add support for specifying a custom health check port for HAProxy backend servers. This allows health probes to target a dedicated endpoint - such as port 8080 - separate from normal traffic ports (e.g., 80 or 443). * Fix article usage --------- Co-authored-by: Daniil Baturin <daniil@baturin.org>
Diffstat (limited to 'docs')
-rw-r--r--docs/configuration/loadbalancing/haproxy.rst8
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/configuration/loadbalancing/haproxy.rst b/docs/configuration/loadbalancing/haproxy.rst
index e62740ce..667ebb95 100644
--- a/docs/configuration/loadbalancing/haproxy.rst
+++ b/docs/configuration/loadbalancing/haproxy.rst
@@ -158,6 +158,12 @@ Backend
Active health check backend server
.. cfgcmd:: set load-balancing haproxy backend <name> server
+ <name> check port <port>
+
+ Set an alternative port number for health checks.
+ Overrides the default server port used for TCP/HTTP checks.
+
+.. cfgcmd:: set load-balancing haproxy backend <name> server
<name> send-proxy
Send a Proxy Protocol version 1 header (text format)
@@ -494,5 +500,5 @@ This configuration enables HTTP health checks on backend servers.
set load-balancing haproxy backend bk-01 server srv01 check
set load-balancing haproxy backend bk-01 server srv02 address '192.0.2.12'
set load-balancing haproxy backend bk-01 server srv02 port '8882'
- set load-balancing haproxy backend bk-01 server srv02 check
+ set load-balancing haproxy backend bk-01 server srv02 check port '8892'