fix build script bug; fix one config bug; update nginx config;