diff options
author | Daniil Baturin <daniil@vyos.io> | 2025-01-29 16:46:05 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-29 16:46:05 +0000 |
commit | b8308f45981383c4b5ebb6b2366b04341c1f3027 (patch) | |
tree | 46c2c838478a312fbf6cab7606a1e472b3560947 /docs | |
parent | 9ca0856042248d4a745a07752a6a96b3c66f2616 (diff) | |
parent | ab8465c58cfcf75ceb0fdb51a3fa1c905b85e4b6 (diff) | |
download | vyos-documentation-current.tar.gz vyos-documentation-current.zip |
haproxy: T7081: Document usage of HTTP compression option
Diffstat (limited to 'docs')
-rw-r--r-- | docs/configuration/loadbalancing/haproxy.rst | 10 |
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 ^^^^^ |