upstream prematurely closed connection while reading response header from upstream, client
问题 I'm getting this error from /var/log/messages on my FreeBSD box. I'm using nginx and spawn-fcgi with memcache and apc modules enabled. upstream prematurely closed connection while reading response header from upstream, client HTTP/1.1", upstream: "fastcgi://unix:/tmp/fcgi.sock:", host: 回答1: I've had a similar error with unicorn + nginx. The end result was that the unicorn was timing out due to a firewall misconfiguration, dieing off and leaving NGINX clueless as to what to do (nginx would