[Mongrel] compress and max upload size?

Xavier Noria fxn at hashref.com
Sat Dec 9 16:12:47 EST 2006

On Dec 9, 2006, at 9:37 PM, Ezra Zygmuntowicz wrote:

> 	I think the reason you are seeing a difference between apache and
> nginx in this situation is that your apache config is rewriting stuff
> so that apache serves all static content. With your nginx config you
> are sending all requests including those for static files to mongrel.
> You need the appropriate rewite rules in nginx.conf in order to make
> a fair comparison.
> 	Here is a complete nginx config for use with mongrel. It does all
> the rewites toi assure static content is served by nginx. try this
> one out for a more fair comparison
> http://brainspl.at/nginx.conf.txt

Thank you Ezra. I am not sure that is the case however, my config  
file is based on that one. Both are very similar because of that, and  
in particular both have the test

   if (!-f $request_filename) {
     proxy_pass http://mongrel;

-- fxn

More information about the Mongrel-users mailing list