I have problem with my production nginx configuration (on my development machine with mongrel everything works). My environment is: nginx as proxy, rainbows as backend running rails 3.1 application with ruby 1.9.2. When I'm trying to upload large file (more than 1MB) I see 502 error on my website and in nginx error log file: 2012/04/02 14:45:17 14415#0: *658 sendfile() failed (32: Brokeby aserafin - How to...