On Dec 21, 2007 10:28 AM, Jamey Cribbs <<a href="mailto:jamey.cribbs@gmail.com">jamey.cribbs@gmail.com</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
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).<br><br>Any ideas? I tried changing the log format, as suggested in a reply to someone else's post, but could not get nginx to start, so I don't know if nginx has to be compiled with a particular flag in order to include the log format config directive in
nginx.conf.<br><br>Any help, suggestions would be greatly appreciated.<br><font color="#888888"><br>Jamey Cribbs<br>
</font></blockquote></div><br><br>Try turning sendfile off in the config.<br><br> ~Wayne<br>