From ef7bac82975c590bd7befc5f3c80f07240ea9f36 Mon Sep 17 00:00:00 2001 From: geomacy Date: Wed, 21 Aug 2024 17:57:38 +0100 Subject: [PATCH] Add disableCompression flag to configuration docs. Signed-off-by: Geoff Macartney --- site/content/docs/main/configuration.md | 1 + 1 file changed, 1 insertion(+) diff --git a/site/content/docs/main/configuration.md b/site/content/docs/main/configuration.md index c13583b3b91..588ce55be29 100644 --- a/site/content/docs/main/configuration.md +++ b/site/content/docs/main/configuration.md @@ -80,6 +80,7 @@ Where Contour settings can also be specified with command-line flags, the comman | debug | boolean | `false` | Enables debug logging. | | default-http-versions | string array | HTTP/1.1
HTTP/2 | This array specifies the HTTP versions that Contour should program Envoy to serve. HTTP versions are specified as strings of the form "HTTP/x", where "x" represents the version number. | | disableAllowChunkedLength | boolean | `false` | If this field is true, Contour will disable the RFC-compliant Envoy behavior to strip the `Content-Length` header if `Transfer-Encoding: chunked` is also set. This is an emergency off-switch to revert back to Envoy's default behavior in case of failures. | +| disableCompression | boolean | `false` | This disables GZIP compression HTTP filter from the default Listener filters. Setting this true will enable Envoy skip "Accept-Encoding: gzip,deflate" request header and always return uncompressed response. | | disableMergeSlashes | boolean | `false` | This field disables Envoy's non-standard merge_slashes path transformation behavior that strips duplicate slashes from request URL paths. | | serverHeaderTransformation | string | `overwrite` | This field defines the action to be applied to the Server header on the response path. Values: `overwrite` (default), `append_if_absent`, `pass_through` | | disablePermitInsecure | boolean | `false` | If this field is true, Contour will ignore `PermitInsecure` field in HTTPProxy documents. |