Skip to content

Commit

Permalink
Add disableCompression flag to configuration docs.
Browse files Browse the repository at this point in the history
Signed-off-by: Geoff Macartney <geoff.macartney@sky.uk>
  • Loading branch information
geomacy committed Aug 22, 2024
1 parent 5adb2a4 commit ef7bac8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions site/content/docs/main/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 | <code style="white-space:nowrap">HTTP/1.1</code> <br> <code style="white-space:nowrap">HTTP/2</code> | 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. |
Expand Down

0 comments on commit ef7bac8

Please sign in to comment.