VPS侦探论坛

标题: 301重定向后,网站打不开了 [打印本页]

作者: AIXUAN99    时间: 2010-11-14 10:13
标题: 301重定向后,网站打不开了
设置301重定向后,网站打不开了,/root/lnmp restart 显示错误Reload LNMP...Reload Nginx configure...[emerg]: "if" directive is not allowed here in /usr/local/nginx/conf/vhost/amq.net.ru.conf:29configuration file /usr/local/nginx/conf/nginx.conf test failedcat: /usr/local/nginx/logs/nginx.pid: No such file or directorykill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]Nginx program is reloding!Shutting down MySQL. SUCCESS!Starting MySQL. SUCCESS!Shutting down php_fpm . doneStarting php_fpm  done

晕,是以前的一个网站没设置好,刚刚才想起来,现在解决了

[ 本帖最后由 AIXUAN99 于 2010-11-14 10:21 编辑 ]
作者: licess    时间: 2010-11-14 10:51
标题: 回复 1# 的帖子
/usr/local/nginx/conf/vhost/amq.net.ru.conf  这个配置文件中有错误




欢迎光临 VPS侦探论坛 (https://bbs.lnmp.com/) Powered by Discuz! X3.4