Forum: Rails deployment nginx + modrails + gzip

Posted by Vince W. (vince)
on 2009-08-20 07:04
I'm running a stack using modrails with the compiled version of nginx.
I turned on gzip in my /opt/nginx/conf/nginx.conf file but Yslow still
shows that we aren't gzipping.  Any hints as to what might be happening?
Here's the gzip stuff from nginx:

  gzip              on;
  gzip_buffers      16 8k;
  gzip_comp_level   9;
  gzip_http_version 1.0;
  gzip_min_length   0;
  gzip_types  text/plain text/html text/css application/x-javascript
text/xml application/xml application/xml+rss text/javascript;

Any help appreciated,
Vince
Posted by Alexey Petrushin (axyd80)
on 2009-11-26 21:55
The same problem :(
Posted by Andrey Zaikin (zed_0xff)
on 2009-12-04 22:45
you can try to add "gzip_proxied     any;"
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.