some changes for nginx