gzip compression not working
nginxlist at calomel.org
Wed May 21 20:24:10 MSD 2008
Is the test file you are testing larger than 1100 bytes and one of the
formates you listed in gzip_types?
If you have curl (linux, BSD, ect.) installed you can do your own
header tests with: curl -I --compressed http://localhost
Nginx "how to"
Calomel @ https://calomel.org
Open Source Research and Reference
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 all.
> 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_types text/plain text/html text/css
> 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.
> Thank you so much!
> Visible links
> 1. http://www.gidnetwork.com/tools/gzip-test.php
More information about the nginx