This patch, http://forum.nginx.org/read.php?29,246966,246988#msg-246988 fixes it. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,246969,247001#msg-247001