首页 > Web开发 > 详细

ngix 创建新的网站

时间:2017-02-12 19:05:33      阅读:223      评论:0      收藏:0      [点我收藏+]

1. 进入ngix 的目录的conf 目录 的 vhosts 

2. 复制一份新的v2.edc.com.conf

3. server_name : v2.edc.com 

    root :  /ali/...../目录 

4.   重启nginx 服务

        │ /etc/init.d/nginx start|stop|restart                     │                       
                      │ /etc/init.d/php-fpm start|stop|restart                   │                       
                      │ /etc/init.d/mysql start|stop|restart                     │                       
                      │ /etc/init.d/vsftpd start|stop|restart      

 

ngix 创建新的网站

原文:http://www.cnblogs.com/yangyuqiu/p/6391479.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!