Welcome! Log In Create A New Profile

Advanced

Re: gzip just fails

November 29, 2009 08:02AM
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@feedjit.com> wrote:

> From: Mark Maunder <mark@feedjit.com>
> Subject: Re: gzip just fails
> To: nginx@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@nginx.org
> > http://nginx.org/mailman/listinfo/nginx
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://nginx.org/mailman/listinfo/nginx
>




_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

gzip just fails

websun November 28, 2009 10:14PM

Re: gzip just fails

Gena Makhomed November 29, 2009 05:56AM

Re: gzip just fails

Mark Maunder November 29, 2009 07:12AM

Re: gzip just fails

websun November 29, 2009 08:02AM

Re: gzip just fails

Gena Makhomed November 29, 2009 10:56AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 254
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready