GZIP not compressing .js and .css files

Hi,

My server doesn’t appear to be compressing .js and .css files…

I have the following in my /etc/nginx/nginx.conf…

    gzip on;
    gzip_disable "msie6";

    gzip_vary on;
    # gzip_proxied any;
    gzip_comp_level 1;
    gzip_buffers 16 8k;
    gzip_http_version 1.1;
    gzip_types text/plain text/css application/json

application/x-javascript text/xml application/xml application/xml+rss
text/javascript;

Pagespeed in Chrome is telling me to enable compression and lists all
the .js and .css files…

Have I missed something?

TIA

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,220747,220747#msg-220747

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs