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

NameTypeDescription
stateon | offDecompress eligible gzip responses for clients that cannot accept gzip.

Working Example

Example Snippetnginx
gunzip on;
Nginx Reference