Keep getting 502 Bad Gateway

illusime nginx-forum at
Fri Oct 1 07:34:57 MSD 2010


I have set up a drupal site using nginx. But after a few weeks it will
get 502 bad gateway error on the site. I'm still at the testing stage
and my site doesn't receive any traffic but keeps going down. After I
reboot the server it became alright but after a few days the error will
come back. Any ideas what is wrong?

Error log file:
[error] 7563#0: *6 connect() failed (111: Connection refused) while
connecting to upstream, client: ip, server:, request: "GET /
HTTP/1.1", upstream: "fastcgi://", host: ""

Posted at Nginx Forum:,135848,135848#msg-135848

More information about the nginx mailing list