gzip just fails

Paul Roland paul.roland at yahoo.com
Sun Nov 29 06:04:36 MSK 2009

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_types        text/plain text/css application/x-javascript text/xml application/xml;
     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;


More information about the nginx mailing list