getallheaders not working on nginx env