AMH 社区首页
AMH社区 - 开放自由有价值的社区
[求助帖] 400 Bad Request /usr/local/nginx/sbin/nginx -t |
|
---|---|
yueyanwen |
yueyanwen 发表于 2015-04-13 16:02:52
[root@w1149-22 /]# /usr/local/nginx/sbin/nginx -t
nginx: [emerg] "server" directive is not allowed here in /usr/local/nginx/conf/rewrite/qiyuezzz301.conf:1 nginx: configuration file /usr/local/nginx/conf/nginx.conf test failed 网页现在400了。 删除新建还是400 哪里问题
点赞,加油! (1分)
2015-04-13 16:02:52 1
|
amysql |
/usr/local/nginx/conf/rewrite/qiyuezzz301.conf
规则有问题,不要使用server 修改正确或清空, echo > /usr/local/nginx/conf/rewrite/qiyuezzz301.conf; amh nginx start;
回复
2015-04-14 17:28:55 2
AMH面板 - 好用高效低占用、安全可靠极稳定 |