linux 多个nginx冲突,linux nginx配置多个网站
1.建立wwwroot(/home/wwwrooot)另建立一个wwwroot/test/index.html(网站目录)2.建立vhost文件(/usr/local/nginx/conf/vhost)3.配置nginx.conf,加入:include vhost/*.conf;http{......include vhost/*.conf; // 注意这里是放在http{}里面,而不是外面}另...