mirror of
https://github.com/traefik/traefik.git
synced 2025-11-30 07:01:20 +01:00
Improve compression documentation
This commit is contained in:
parent
1ba7fd91ff
commit
691a678b19
@ -171,6 +171,12 @@ To enable compression support using gzip format.
|
|||||||
compress = true
|
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
|
## Whitelisting
|
||||||
|
|
||||||
To enable IP whitelisting at the entrypoint level.
|
To enable IP whitelisting at the entrypoint level.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user