创建日志文件目录
vim /usr/local/nginx/conf/nginx.confnf
vim /usr/local/nginx/conf/vhosts/test.conf
nginx -t nginx -s reload(或/etc/init.d/nginx reload)