If I removed any one of above five "if" tags, this error information won't display. Maybe it's nginx's issue.? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,115070,115324#msg-115324