diff options
| author | Oleksandr Kuchmystyi <o.kuchmystyi@vyos.io> | 2025-10-21 15:51:31 +0300 |
|---|---|---|
| committer | Oleksandr Kuchmystyi <o.kuchmystyi@vyos.io> | 2025-10-24 16:54:28 +0300 |
| commit | bba498d2cf6d897789641ca093c2d3b9daff8472 (patch) | |
| tree | 3d1a14ee972bb6eb79a8c4d826dcd6ca656163d4 /interface-definitions/load-balancing_haproxy.xml.in | |
| parent | fd8794f36b487ba2102cc50437056e93eb62f7f3 (diff) | |
| download | vyos-1x-bba498d2cf6d897789641ca093c2d3b9daff8472.tar.gz vyos-1x-bba498d2cf6d897789641ca093c2d3b9daff8472.zip | |
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).
Diffstat (limited to 'interface-definitions/load-balancing_haproxy.xml.in')
| -rw-r--r-- | interface-definitions/load-balancing_haproxy.xml.in | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/interface-definitions/load-balancing_haproxy.xml.in b/interface-definitions/load-balancing_haproxy.xml.in index 399197366..163ffa869 100644 --- a/interface-definitions/load-balancing_haproxy.xml.in +++ b/interface-definitions/load-balancing_haproxy.xml.in @@ -253,12 +253,14 @@ <valueless/> </properties> </leafNode> - <leafNode name="check"> + <node name="check"> <properties> <help>Active health check backend server</help> - <valueless/> </properties> - </leafNode> + <children> + #include <include/port-number.xml.i> + </children> + </node> #include <include/port-number.xml.i> <leafNode name="send-proxy"> <properties> |
