gzip_disable

Syntax: gzip_disable regex ...;
Default:
Context: http, server, location

This directive appeared in version 0.6.23.

Disables gzipping of responses for requests with “User-Agent” header fields matching any of the specified regular expressions.

The special mask “msie6” (0.7.12) corresponds to the regular expression “MSIE [4-6]\.”, but works faster. Starting from version 0.8.11, “MSIE 6.0; ... SV1” is excluded from this mask.

doc_nginx
2017-02-09 07:06:21
Comments
Leave a Comment

Please login to continue.