HTTP gunzip directives
gunzip directive
HTTP/server/location; default off. Optional filter decodes gzip for clients without compatible support.
Formal Syntax & Structure
nginx syntaxnginx
gunzip on | off;Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| state | on | off | Decompress eligible gzip responses for clients that cannot accept gzip. |
Working Example
Example Snippetnginx
gunzip on;