gzip just fails
mark at feedjit.com
Sun Nov 29 15:07:25 MSK 2009
Start with a basic gzip config:
gzip_buffers 4 8k;
Check that nginx is now gzipping. Then add things like gzip_http_version
and gzip_disable (doing an nginx reload each time) and see which one
causes nginx to stop gzipping.
Paul Roland wrote:
> Hey, I've tried kind of everything but it seems like nginx just won't gzip.
> I have this in http zone, no page is gziped, only php ones but that's php's internal compression.
> I also receive Transfer-Encoding chunked from server.
> Any ideas? this is nginx-0.8.28
> include /etc/mime.types;
> default_type application/octet-stream;
> access_log off;
> sendfile on;
> gzip on;
> gzip_proxied any;
> gzip_comp_level 5;
> gzip_http_version 1.1;
> gzip_disable "MSIE [1-6]\.";
> server_names_hash_bucket_size 128;
> autoindex on;
> error_page 404 /btnerror/404.html;
> log_not_found off;
> server_tokens off;
> client_max_body_size 32m;
> nginx mailing list
> nginx at nginx.org
More information about the nginx