Welcome! Log In Create A New Profile

Advanced

Re: Problem with GZIP

Reinis Rozitis
October 03, 2011 11:00AM
> Using firefox´s plg-in firebug I can check gzip support it´s not enabled:
> http://10.128.50.101/css/blueprint/screen.css

Your configuration ( http://forum.nginx.org/read.php?2,216030,216213#msg-216213 ) is missing text/css from gzip_types. Which is
returned by nginx so the gzip module doesn't do anything:

2011/09/29 07:44:01 [debug] 14365#0: *4 http filename: "/var/www/appname/web/css/administration/modules/dashboard.css"
2011/09/29 07:44:01 [debug] 14365#0: *4 HTTP/1.1 200 OK
Server: nginx/1.1.4
Date: Thu, 29 Sep 2011 11:44:01 GMT
Content-Type: text/css
^^^^^^^

The line probably should be (add or remove additional document types if needed):

gzip_types text/plain text/css text/xml application/x-javascript;



p.s. Also the IE regex can be simplified:
gzip_disable msie6;

rr

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

Problem with GZIP

firestorm September 29, 2011 10:16AM

Re: Problem with GZIP

Maxim Dounin September 29, 2011 10:28AM

Re: Problem with GZIP

firestorm October 03, 2011 10:01AM

Re: Problem with GZIP

firestorm October 03, 2011 10:04AM

Re: Problem with GZIP

firestorm October 03, 2011 11:09AM

Re: Problem with GZIP

Francis Daly October 03, 2011 10:56AM

Re: upload module parameters issue

Francis Daly October 03, 2011 07:24PM

Re: Problem with GZIP

Reinis Rozitis October 03, 2011 11:00AM

Re: Problem with GZIP

Francis Daly October 03, 2011 03:26PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 259
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