Slow file upload on OS X server

M
  • 1 Jan '08
Jamey Cribbs ha scritto:
> I have a rails app running on an OS X server, using nginx as the web 
> server, proxying to a mongrel cluster.  File uploads from the user's 
> browser are painfully slow when going through nginx, but if I target an 
> individual mongrel instance in the browser, the file upload is fast.  I 
> have the latest mac ports version of nginx installed ( 0.54, I believe).
> 
> Any ideas?  

 > [...]

Are you sure that it is "globally" slower?

nginx will first read the entire request body, and then will send the 
data to the proxy.

Regards  Manlio Perillo