500 error on multipart POST, no error log

Igor Sysoev is at rambler-co.ru
Wed Jul 30 16:53:53 MSD 2008


On Tue, Jul 29, 2008 at 06:27:25PM -0400, Jonathan Vanasco wrote:

> I can't figure this out... ( nginx/0.6.31 )
> 
> my server{} block has this
> 
>     access_log  /var/log/nginx/SITE/dev.SITE.com-access.log main;
>     error_log   /var/log/nginx/SITE/dev.SITE.com-error.log ;
> 
>     location ~ "^/(_img|_css|_js)" {
>                 root /home/SITE/_current-web;
>         }
> 
>     location ~ "^/" {
>                 proxy_pass   http://127.0.0.1:5001;
>         }
> 
> 
> When trying to upload an image to the ProxyPass, I get an 500  
> Internal Server Error .. but nothing goes to the error log
> 
> the access log tells me:
> 
> 24.239.177.95 - jonathan [29/Jul/2008:22:11:49 +0000] 500 "POST / 
> admin HTTP/1.1" 193 "http://dev.SITE.com/admin/?m=add_edit_image"  
> "Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_4_11; en) AppleWebKit/ 
> 525.18 (KHTML, like Gecko) Version/3.1.2 Safari/525.22" "-" "cookie  
> =cookie_val; cooki=cookie_val"
> 
> I'm probably doing something wrong , but there's no error to point me  
> in the right direction.  the site works fine locally (without nginx  
> proxying).  there just seems to be something on the post through  
> NGINX that screws things up.

Do you see nginx's signature in 500 error page ?


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list