1. yum updatenginx
2. sh centos.shcentos
3. sh upgrade_nginx.sh測試
nginx 1.7.0spa
4. cd /usr/local/nginx/conf/域名
upload /vhost/*stream
nginx.conf配置
5.upstream.conf 添加多個子域名date
6.xxx.com.conf 配置域名密碼
7./usr/local/nginx/sbin/nginx -t yum
測試配置文件
/usr/local/nginx/sbin/nginx -s reload
重啓Nginx
8.修改密碼
passwd
9.重啓 shutdown -r now