已解决
发布

nginx: [emerg] “location” directive is not allowed here in /usr/local/nginx/conf/vhost/www.yybmb.net.conf:31
nginx: configuration file /usr/local/nginx/conf/nginx.conf test failed
Create virtualhost … [FAILED]
请问这个什么故障啊?

2 答案

发布

一样…
nginx: [emerg] “location” directive is not allowed here in /usr/local/nginx/conf/vhost/www.xxx.cm.conf:27
nginx: configuration file /usr/local/nginx/conf/nginx.conf test failed
Create virtualhost … [FAILED]

#1
发布
管理员 2016-05-18

 

cd ~/oneinstack
rm -rf vhost.sh
wget http://mirrors.linuxeye.com/oneinstack/vhost.sh
chmod +x vhost.sh
#2

请登录或者 注册 来提交答案