Upload module can not upload file (Permission denied)

Yanxin Z. lists at ruby-forum.com
Tue Mar 29 04:51:43 MSD 2011

I finally realized
I do not need to start backend server 8080 at all.

Although I still have error "502 Bad Gateway"

342 2011/03/28 17:47:44 [error] 30032#0: *1 connect() failed (111: 
Connection refused) while connecting       to upstream, client:, server: , request: "POST /upload HTTP/1.1", upstream: 
"http://127.0.0.    1:8080/upload", host: "", referrer: 

But the file is uploaded into /tmp already.

what a magic!!

BTW, how to fix this error then?

Posted via http://www.ruby-forum.com/.

More information about the nginx mailing list