summaryrefslogtreecommitdiff
path: root/interface-definitions/load-balancing-haproxy.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-09-22 06:17:13 +0200
committerGitHub <noreply@github.com>2023-09-22 06:17:13 +0200
commit1f6b7168af0d295b81324fd64a4876073de33066 (patch)
tree3fc3f3d446d173570958f2f2c8bec321c5e0ff83 /interface-definitions/load-balancing-haproxy.xml.in
parent7e16cea1897eba08f8e11bc5c600fcf8dc2cb591 (diff)
parentefc1f296826c5b3023e447ea8fe948a1a94056ff (diff)
downloadvyos-1x-1f6b7168af0d295b81324fd64a4876073de33066.tar.gz
vyos-1x-1f6b7168af0d295b81324fd64a4876073de33066.zip
Merge pull request #2299 from vyos/mergify/bp/sagitta/pr-2294
T5602: Reverse-proxy add option backup for backend server (backport #2294)
Diffstat (limited to 'interface-definitions/load-balancing-haproxy.xml.in')
-rw-r--r--interface-definitions/load-balancing-haproxy.xml.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/interface-definitions/load-balancing-haproxy.xml.in b/interface-definitions/load-balancing-haproxy.xml.in
index f955a2fb7..564c335ec 100644
--- a/interface-definitions/load-balancing-haproxy.xml.in
+++ b/interface-definitions/load-balancing-haproxy.xml.in
@@ -124,6 +124,12 @@
</constraint>
</properties>
</leafNode>
+ <leafNode name="backup">
+ <properties>
+ <help>Use backup server if other servers are not available</help>
+ <valueless/>
+ </properties>
+ </leafNode>
<leafNode name="check">
<properties>
<help>Active health check backend server</help>