Port of nginx from previous repo.