这就是文档内容,有个屌用!垃圾!
1.
cd /usr/local/nginx/conf/vhosts
cp xx1.conf xx2.conf
vi xx2.conf
2.
配置好后查看是否成功:
/usr/local/nginx/sbin/nginx -t
返回信息:
the configuration file /usr/local/nginx//conf/nginx.conf syntax is ok
configuration file /usr/local/nginx//conf/nginx.conf test is