Explicitly mention which resources support compression in the config guide (#13221)

This commit is contained in:
Brendan Abolivier 2022-07-29 11:09:57 +02:00 committed by GitHub
parent 583f22780f
commit 24ef1460f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

1
changelog.d/13221.doc Normal file
View File

@ -0,0 +1 @@
Document which HTTP resources support gzip compression.

View File

@ -486,7 +486,8 @@ Sub-options for each listener include:
* `names`: a list of names of HTTP resources. See below for a list of valid resource names.
* `compress`: set to true to enable HTTP compression for this resource.
* `compress`: set to true to enable gzip compression on HTTP bodies for this resource. This is currently only supported with the
`client`, `consent` and `metrics` resources.
* `additional_resources`: Only valid for an 'http' listener. A map of
additional endpoints which should be loaded via dynamic modules.