summaryrefslogtreecommitdiff
path: root/docs/configuration/loadbalancing/haproxy.rst
diff options
context:
space:
mode:
authorAlex W <embezzle.dev@proton.me>2025-01-28 23:51:25 +0000
committerAlex W <embezzle.dev@proton.me>2025-01-28 23:51:25 +0000
commitab8465c58cfcf75ceb0fdb51a3fa1c905b85e4b6 (patch)
tree46c2c838478a312fbf6cab7606a1e472b3560947 /docs/configuration/loadbalancing/haproxy.rst
parent9ca0856042248d4a745a07752a6a96b3c66f2616 (diff)
downloadvyos-documentation-ab8465c58cfcf75ceb0fdb51a3fa1c905b85e4b6.tar.gz
vyos-documentation-ab8465c58cfcf75ceb0fdb51a3fa1c905b85e4b6.zip
haproxy: T7081: Document usage of HTTP compression option
Diffstat (limited to 'docs/configuration/loadbalancing/haproxy.rst')
-rw-r--r--docs/configuration/loadbalancing/haproxy.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/configuration/loadbalancing/haproxy.rst b/docs/configuration/loadbalancing/haproxy.rst
index b29f9620..c7c25783 100644
--- a/docs/configuration/loadbalancing/haproxy.rst
+++ b/docs/configuration/loadbalancing/haproxy.rst
@@ -57,6 +57,16 @@ Service
For an explanation on :ref:`syslog_facilities` and :ref:`syslog_severity_level`
see tables in syslog configuration section.
+.. cfgcmd:: set load-balancing haproxy service <name> http-compression algorithm
+ <gzip | deflate | identity | raw-deflate>
+
+ Set the compression algorithm to be used when compressing HTTP responses.
+
+.. cfgcmd:: set load-balancing haproxy service <name> http-compression mime-type
+ <mime-type>
+
+ Set the list of HTTP response MIME types which haproxy will attempt to
+ compress, if received uncompressed from backend server.
Rules
^^^^^