ngix 创建新的网站

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      

 

posted @ 2017-02-12 18:21  Yeah,程序猿  阅读(199)  评论(0编辑  收藏  举报