Centos 反向代理创建资料
1. yum update
2. sh centos.sh
3. sh upgrade_nginx.sh
nginx 1.7.0
4. cd /usr/local/nginx/conf/
upload /vhost/*
nginx.conf
5.upstream.conf 添加多个子域名
6.xxx.com.conf 配置域名
7./usr/local/nginx/sbin/nginx -t
测试配置文件
/usr/local/nginx/sbin/nginx -s reload
重启Nginx
8.修改密码
passwd
9.重启 shutdown -r now