diff options
author | Christian Breunig <christian@breunig.cc> | 2024-04-23 09:29:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-23 09:29:28 +0200 |
commit | f3c36e2d1cb7f853854c97d4d156e8604c4d4309 (patch) | |
tree | 3039ebccec433e408d3f03d05223af0152f0de19 /interface-definitions | |
parent | eab0adcbf30734045cf04c140d30efae1abdf194 (diff) | |
parent | 984c386d11ead8371b7ac381e6c0921473e557ed (diff) | |
download | vyos-1x-f3c36e2d1cb7f853854c97d4d156e8604c4d4309.tar.gz vyos-1x-f3c36e2d1cb7f853854c97d4d156e8604c4d4309.zip |
Merge pull request #3342 from fsdrw08/current
T6226: add HAPROXY tcp-request related block to load-balancing reverse proxy config
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/include/haproxy/tcp-request.xml.i | 22 | ||||
-rw-r--r-- | interface-definitions/load-balancing_reverse-proxy.xml.in | 1 |
2 files changed, 23 insertions, 0 deletions
diff --git a/interface-definitions/include/haproxy/tcp-request.xml.i b/interface-definitions/include/haproxy/tcp-request.xml.i new file mode 100644 index 000000000..3d60bd8ad --- /dev/null +++ b/interface-definitions/include/haproxy/tcp-request.xml.i @@ -0,0 +1,22 @@ +<!-- include start from haproxy/tcp-request.xml.i --> +<node name="tcp-request"> + <properties> + <help>TCP request directive</help> + </properties> + <children> + <leafNode name="inspect-delay"> + <properties> + <help>Set the maximum allowed time to wait for data during content inspection</help> + <valueHelp> + <format>u32:1-65535</format> + <description>The timeout value specified in milliseconds</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 1-65535"/> + </constraint> + <constraintErrorMessage>The timeout value must be in range 1 to 65535 milliseconds</constraintErrorMessage> + </properties> + </leafNode> + </children> +</node> +<!-- include end --> diff --git a/interface-definitions/load-balancing_reverse-proxy.xml.in b/interface-definitions/load-balancing_reverse-proxy.xml.in index eb01580da..6a3b3cef1 100644 --- a/interface-definitions/load-balancing_reverse-proxy.xml.in +++ b/interface-definitions/load-balancing_reverse-proxy.xml.in @@ -38,6 +38,7 @@ #include <include/haproxy/mode.xml.i> #include <include/port-number.xml.i> #include <include/haproxy/rule-frontend.xml.i> + #include <include/haproxy/tcp-request.xml.i> <leafNode name="redirect-http-to-https"> <properties> <help>Redirect HTTP to HTTPS</help> |