Skip to content

Commit b8308f4

Browse files
authored
Merge pull request #1592 from Embezzle/T7081
haproxy: T7081: Document usage of HTTP compression option
2 parents 9ca0856 + ab8465c commit b8308f4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Diff for: docs/configuration/loadbalancing/haproxy.rst

+10
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,16 @@ Service
5757
For an explanation on :ref:`syslog_facilities` and :ref:`syslog_severity_level`
5858
see tables in syslog configuration section.
5959

60+
.. cfgcmd:: set load-balancing haproxy service <name> http-compression algorithm
61+
<gzip | deflate | identity | raw-deflate>
62+
63+
Set the compression algorithm to be used when compressing HTTP responses.
64+
65+
.. cfgcmd:: set load-balancing haproxy service <name> http-compression mime-type
66+
<mime-type>
67+
68+
Set the list of HTTP response MIME types which haproxy will attempt to
69+
compress, if received uncompressed from backend server.
6070

6171
Rules
6272
^^^^^

0 commit comments

Comments
 (0)