301重定向后,网站打不开了
设置301重定向后,网站打不开了,/root/lnmp restart 显示错误Reload LNMP...Reload Nginx configure...: "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 Nginx program is reloding!Shutting down MySQL. SUCCESS!Starting MySQL. SUCCESS!Shutting down php_fpm . doneStarting php_fpmdone晕,是以前的一个网站没设置好,刚刚才想起来,现在解决了
[ 本帖最后由 AIXUAN99 于 2010-11-14 10:21 编辑 ]
回复 1# 的帖子
/usr/local/nginx/conf/vhost/amq.net.ru.conf这个配置文件中有错误
页:
[1]