summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2025-01-29 16:46:05 +0000
committerGitHub <noreply@github.com>2025-01-29 16:46:05 +0000
commitb8308f45981383c4b5ebb6b2366b04341c1f3027 (patch)
tree46c2c838478a312fbf6cab7606a1e472b3560947 /docs
parent9ca0856042248d4a745a07752a6a96b3c66f2616 (diff)
parentab8465c58cfcf75ceb0fdb51a3fa1c905b85e4b6 (diff)
downloadvyos-documentation-current.tar.gz
vyos-documentation-current.zip
Merge pull request #1592 from Embezzle/T7081HEADcurrent
haproxy: T7081: Document usage of HTTP compression option
Diffstat (limited to 'docs')
-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
^^^^^