产品服务AMH 免费服务器主机面板SSL证书 免费SSL证书申请编程助手免费智能写代码、翻译NewAMYSQL 免费MySQL管理工具AMFTP 免费FTP管理客户端

AMH 社区首页

 AMH社区 - 开放自由有价值的社区

[求助帖] 新建Discuz 400

Yusky
金牌会员
11307.70 价值分

Yusky 发表于 2013-08-25 14:53:40

/usr/local/nginx/sbin/nginx -t

nginx: [emerg] unexpected "}" in /usr/local/nginx/conf/rewrite/phpwind.conf:12
nginx: configuration file /usr/local/nginx/conf/nginx.conf test failed




评价: 这个问题有价值吗?  没有 (0分)   有, 感谢 (0分)
2013-08-25 14:53:40 1

Yusky
金牌会员
11307.70 价值分

这是新加的站点。。
评价: 这个答复有价值吗?  没有 (0分)   有, 感谢 (0分)
回复  2013-08-25 14:53:57 2

Yusky
金牌会员
11307.70 价值分

[xxxxxxxx]# /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


还是400
评价: 这个答复有价值吗?  没有 (0分)   有, 感谢 (0分)
回复  2013-08-25 15:08:58 3

Yusky
金牌会员
11307.70 价值分

[正确] Nginx配置Rewrite规则校验成功。 [AMRewrite-1.0 admin] [OK] AMRewrite-1.0 is already installed. 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
评价: 这个答复有价值吗?  没有 (0分)   有, 感谢 (0分)
回复  2013-08-25 15:09:35 4

Yusky
金牌会员
11307.70 价值分

重启nginx。重启php。 现在出现的是404了。 明明有文件在里面的 支持 支持
评价: 这个答复有价值吗?  没有 (0分)   有, 感谢 (0分)
回复  2013-08-25 15:11:40 5

amysql
创始人
99532.51 价值分

404是没找到文件,
确认重写规则是否正确。
评价: 这个答复有价值吗?  没有 (0分)   有, 感谢 (0分)
回复  2013-08-25 15:14:22 6

AMH面板 - 好用高效低占用、安全可靠极稳定

Yusky
金牌会员
11307.70 价值分

引用:
amysql 发表于 2013-8-25 15:14
404是没找到文件,
确认重写规则是否正确。


:(重启系统好了。。。
评价: 这个答复有价值吗?  没有 (0分)   有, 感谢 (0分)
回复  2013-08-25 19:47:10 7
 1  (总1页)
AMH社区列表
用户服务中心