gzip compression not working
cbillen at warmlyyours.com
Thu May 22 22:03:40 MSD 2008
This is my revised setting, I had to set proxy_set_header for it to
compress, not sure what it does or why.
add it to the mime types?
gzip_buffers 4 8k;
proxy_set_header Accept-Encoding "";
On Thu, May 22, 2008 at 12:51 PM, Christian Billen <cbillen at warmlyyours.com>
> Hi guys, ok just removing the file size did work...and the http test as
> well. Now should I be concerned with gzip_http at all? what is going to
> give me compression for most clients out there?
> Thanks for the tip on the types as well.
> On Wed, May 21, 2008 at 11:24 AM, Calomel <nginxlist at calomel.org> wrote:
>> 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:
>> > Hello,
>> > 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
>> > test and serving a static html file, but the file does not come
>> > at all.
>> > Here's the snippet of configuration, I tried variations on this
>> > success
>> > 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
>> > to test the results.
>> > Thank you so much!
>> > Visible links
>> > 1. http://www.gidnetwork.com/tools/gzip-test.php
> Christian Billen
> Director of IT
> Warmlyyours.com, inc.
> Phone: (800) 875-5285 ext.800
> Fax: (847) 550-2600
> Email: cbillen at warmlyyours.com
> Honeywell authorized licensee
> 2 Corporate Dr., Suite 100
> Long Grove, Illinois 60047
> Visit the WarmlyYours website at: www.warmlyyours.com
> 24/7 Installation Support • Lifetime Technical Assistance • Free Design
> This email and any files transmitted with it are confidential and intended
> solely for the use of the individual or entity to whom they are addressed.
> If you have received this email in error please notify the system manager.
> Please note that any views or opinions presented in this email are solely
> those of the author and do not necessarily represent those of the company.
Director of IT
Phone: (800) 875-5285 ext.800
Fax: (847) 550-2600
Email: cbillen at warmlyyours.com
Honeywell authorized licensee
2 Corporate Dr., Suite 100
Long Grove, Illinois 60047
Visit the WarmlyYours website at: www.warmlyyours.com
24/7 Installation Support • Lifetime Technical Assistance • Free Design
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager.
Please note that any views or opinions presented in this email are solely
those of the author and do not necessarily represent those of the company.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx