fix some errors in nginx config file