Revert "change required headers from nginx source"

This reverts commit 21653238f3f31776c59127a48b0960999f75235d.