gzip compression not working
is at rambler-co.ru
Wed May 21 20:31:43 MSD 2008
On Wed, May 21, 2008 at 12:24:39AM -0500, Christian Billen wrote:
> I have a fresh new installation of nginx on ubuntu 8.04 (installed via
> apt-get, I believe it is 0.5.x something)
> In my nginx.conf file I have gzip turned on, now I wanted to do a basic test
> and serving a static html file, but the file does not come compressed at
> Here's the snippet of configuration, I tried variations on this without
> gzip on;
> gzip_min_length 1100;
> gzip_buffers 4 8k;
> gzip_proxied any;
> gzip_http_version 1.1;
> gzip_comp_level 6;
> Does anyone have any idea why nothing is compressed?
> I've used this http://www.gidnetwork.com/tools/gzip-test.php and others to
> test the results.
www.gidnetwork.com send HTTP/1.0 request, which is not gzipped because
of "gzip_http_version 1.1".
Also, you do not need to set gzip_types, those never be issued by nginx:
It's CPU cycles waste.
More information about the nginx