Vanilla 1.1.8 is a product of Lussumo. More Information: Documentation, Community Support.
Hi,
I’ve been trying for the last couple of hours to get nginx to gzip compress javascript files being returned from mongrel.
The files have mime type application/x-javascript.
Below is a snippet from my nginx config:
gzip on;
gzip_http_version 1.0;
gzip_vary on;
gzip_comp_level 6;
gzip_proxied any;
gzip_types text/plain text/html text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
# 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;
I’d really appreciate any pointers. I’ve searched the web for answers to no avail.
thanks,
mick
1 to 5 of 5