summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-05-19 20:51:58 +0200
committerGitHub <noreply@github.com>2023-05-19 20:51:58 +0200
commit63380de9b57e2ad6f2634ce967e16275f418f186 (patch)
tree645c7f26b72aa75bbe8851911890e0ae95845249 /interface-definitions
parenta66648596dc126b7bed37d8119ee8faa14909613 (diff)
parente9dce894eec252ae9224257a26f23c0b70fba4fd (diff)
downloadvyos-1x-63380de9b57e2ad6f2634ce967e16275f418f186.tar.gz
vyos-1x-63380de9b57e2ad6f2634ce967e16275f418f186.zip
Merge pull request #2013 from sever-sever/T5222
T5222: reverse-proxy fix listen-address template and add smoketest
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/load-balancing-haproxy.xml.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/interface-definitions/load-balancing-haproxy.xml.in b/interface-definitions/load-balancing-haproxy.xml.in
index e295dcb63..f955a2fb7 100644
--- a/interface-definitions/load-balancing-haproxy.xml.in
+++ b/interface-definitions/load-balancing-haproxy.xml.in
@@ -131,6 +131,18 @@
</properties>
</leafNode>
#include <include/port-number.xml.i>
+ <leafNode name="send-proxy">
+ <properties>
+ <help>Send a Proxy Protocol version 1 header (text format)</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ <leafNode name="send-proxy-v2">
+ <properties>
+ <help>Send a Proxy Protocol version 2 header (binary format)</help>
+ <valueless/>
+ </properties>
+ </leafNode>
</children>
</tagNode>
<node name="ssl">