Upgraded to Nginx 1.5.9 and fixed bug.