[Mongrel] Mongrel upload progress not showing progress on production server

Benjamin Jackson bhjackson at gmail.com
Tue Feb 27 21:32:13 EST 2007

> If it's behind nginx or other servers (apache?) sometimes they buffer
> the request before sending the status back.  Otherwise, grab firebug
> and use it to see what is going on.

Thanks Zed. It is in fact behind nginx with gzip compression. How can
I work around this? By increasing/decreasing the buffer size? Here's
the relevant (I think) section of my nginx config:

    http {
      include       conf/mime.types;
      default_type  application/octet-stream;
      access_log  logs/access.log;
      sendfile     on;
      tcp_nopush     on;
      keepalive_timeout  65;
      tcp_nodelay        on;
      gzip  on;
      gzip_min_length  1100;
      gzip_buffers     4 8k;
      gzip_types       text/plain;

More information about the Mongrel-users mailing list