summaryrefslogtreecommitdiff
path: root/interface-definitions/load-balancing_reverse-proxy.xml.in
diff options
context:
space:
mode:
authorAlex W <embezzle.dev@proton.me>2024-05-21 23:25:06 +0100
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-05-23 19:24:18 +0000
commit6c25888fe0e3773cb21b31ffac08c44af5d68a68 (patch)
tree4a87e95554462e45b482b260309d7da67cb8d694 /interface-definitions/load-balancing_reverse-proxy.xml.in
parent371517c4dcf91d07a2145f0a1a1dc52762464ed6 (diff)
downloadvyos-1x-6c25888fe0e3773cb21b31ffac08c44af5d68a68.tar.gz
vyos-1x-6c25888fe0e3773cb21b31ffac08c44af5d68a68.zip
reverse-proxy: T6370: Set custom HTTP headers in reverse-proxy responses
(cherry picked from commit e1450096b4c667a4c33a3fcd8f67ebf6a39d441d)
Diffstat (limited to 'interface-definitions/load-balancing_reverse-proxy.xml.in')
-rw-r--r--interface-definitions/load-balancing_reverse-proxy.xml.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/interface-definitions/load-balancing_reverse-proxy.xml.in b/interface-definitions/load-balancing_reverse-proxy.xml.in
index 6a3b3cef1..011e1b53c 100644
--- a/interface-definitions/load-balancing_reverse-proxy.xml.in
+++ b/interface-definitions/load-balancing_reverse-proxy.xml.in
@@ -39,6 +39,7 @@
#include <include/port-number.xml.i>
#include <include/haproxy/rule-frontend.xml.i>
#include <include/haproxy/tcp-request.xml.i>
+ #include <include/haproxy/http-response-headers.xml.i>
<leafNode name="redirect-http-to-https">
<properties>
<help>Redirect HTTP to HTTPS</help>
@@ -90,6 +91,7 @@
</leafNode>
#include <include/generic-description.xml.i>
#include <include/haproxy/mode.xml.i>
+ #include <include/haproxy/http-response-headers.xml.i>
<node name="parameters">
<properties>
<help>Backend parameters</help>