Welcome! Log In Create A New Profile

Advanced

Uploading large files with rails and uploadify

Posted by aserafin 
Uploading large files with rails and uploadify
April 02, 2012 09:40AM
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 [error] 14415#0: *658 sendfile() failed (32: Broken pipe) while sending request to upstream, ....

What I've tried:

- client_max_body_size 5m;
- keepalive_timeout 600;


Uploading smaller files works fine. What could be the problem?
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 108
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready