lnmp添加的虚拟主机在nginx重启后不能用了
军哥,linode的vps,使用一直都很好今天为一个一直运行正常的虚拟主机添加rewrite规则,然后restart了两次nginx,结果第二次restart了以后虚拟主机的网站都打不开了但是wwwroot里的那个默认网站打得开的
怎么回事啊?军哥?求教! 不好意思 默认网站也打不开 也是404 一开始可能是浏览器缓存。
我/usr/local/nginx/sbin/nginx -t返回信息是
nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful
[ 本帖最后由 dsd1988 于 2012-12-1 20:12 编辑 ]
回复 2# 的帖子
添加了伪静态后, nginx -t 没错误信息,应该就是伪静态有问题
页:
[1]