Hello all,
I have an issue with making GZIP work with NGINX, and I've struggling for a while now.
Here is my nginx.conf part regarding the gzip:
gzip on;
gzip_http_version 1.0;
gzip_vary on;
gzip_comp_level 1;
gzip_proxied any;
gzip_types application/x-javascript;
#gzip_min_length 1100;
# make sure gzip does not lose large gzipped js or css files
# see http://blog.leetsoft.com/2007/7/25/nginx-gzip-ssl
#gzip_buffers 16 8k;
in mime types I have this:
application/x-javascript js gz;
The response header of a js.gz file is this:
Server nginx/0.8.54
Date Wed, 19 Jan 2011 10:55:09 GMT
Content-Type application/x-javascript
Last-Modified Tue, 18 Jan 2011 11:49:55 GMT
Transfer-Encoding chunked
Connection keep-alive
Vary Accept-Encoding
Content-Encoding gzip
If I look at the response, everything is just a bunch of weird characters.
Any ideas why it's not working ?
Thank you very much in advance.