gzip just fails

Paul Roland paul.roland at yahoo.com
Sun Nov 29 15:58:48 MSK 2009


I have both error_log  /opt/btnws2/logs/debug.log debug; and access_log /opt/btnws2/logs/debug2.log; enabled, no error is shown and no debug is made.

--- On Sun, 11/29/09, Mark Maunder <mark at feedjit.com> wrote:

> From: Mark Maunder <mark at feedjit.com>
> Subject: Re: gzip just fails
> To: nginx at nginx.org
> Date: Sunday, November 29, 2009, 2:07 PM
> Start with a basic gzip config:
> 
> gzip on;
> gzip_min_length  1100;
> gzip_buffers     4 8k;
> gzip_types       text/plain
> text/css application/x-javascript text/xml application/xml
> application/xml+rss text/javascript;
> 
> 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.
> 
> Mark.
> 
> 
> 
> 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_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;
> > 
> > 
> > 
> >       
> > _______________________________________________
> > nginx mailing list
> > nginx at nginx.org
> > http://nginx.org/mailman/listinfo/nginx
> 
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
> 


      




More information about the nginx mailing list