summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
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
^^^^^