add nginx config and some changes