I also thought that this was a bug, but after complete lookup at nginx.conf file, I found that I had not-existing 404 error_page(s) which cause internal redirection cycle for my 500 Internal page error. Try to comment that one, worked for me. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,3945,4370#msg-4370