Improve compression documentation

This commit is contained in:
Ed Robinson 2017-09-29 09:34:03 +01:00 committed by Traefiker
parent 1ba7fd91ff
commit 691a678b19

View file

@ -171,6 +171,12 @@ To enable compression support using gzip format.
compress = true
```
Responses are compressed when:
* The response body is larger than `512` bytes
* And the `Accept-Encoding` request header contains `gzip`
* And the response is not already compressed, i.e. the `Content-Encoding` response header is not already set.
## Whitelisting
To enable IP whitelisting at the entrypoint level.