502坏门户 – Nginx,spawn-fcgi,WordPress
我在CentOS VPS上托pipe了几个站点,并且一切正常,直到服务器上的一个WordPress站点开始返回502 Bad Gateway错误。 其他网站工作正常。 如果我重命名BuddyPress插件目录,WordPress网站将加载,但我不确定如何debugging此插件现在导致问题(该插件以前工作,并没有更新)。 完全相同的代码/数据库将正确使用我的本地Apache安装,所以它似乎是特定于服务器configuration。 不使用这个插件是不是一个选项,所以我的问题是更多关于如何debugging服务器configuration。 我的configuration: CentOS 5.10 Nginx 1.60 PHP 5.5 spawn-fcgi 1.6.3 错误: 浏览器 502 Bad Gateway nginx/1.6.0 Nginx / PHP错误日志 2014/06/28 19:40:13 [error] 8146#0: *22994 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 127.0.0.1, server: *.example.com, request: "GET / HTTP/1.0", upstream: "fastcgi://127.0.0.1:53217", host: […]