| Syntax: | gzip_http_version 1.0 | 1.1 |
| Default: | 1.1 |
| Context: | http server location |
| Reference: | gzip_http_version |
Turns gzip compression on or off depending on the HTTP request version.
Note that the Content-Length header is not set when using either version. Keepalives will therefore be impossible with version 1.0, while for 1.1 it is handled by chunked transfers.