correct upstream configuration for php-fpm?

Gena Makhomed gmm at
Sun Sep 13 19:38:42 MSD 2009

On Sunday, September 13, 2009 at 18:00:15, Ilan Berkner wrote:

IB>     fastcgi_pass http://handlephp;

-     fastcgi_pass http://handlephp;
+     fastcgi_pass handlephp;

IB> This gives configuration error of: invalid upstream in host,
IB> on the fastcgi_pass line.  When I change it to: proxy_pass
IB> http://handlephp, I don't get the configuration error but the
IB> website gives a "bad gateway error".  I tried it with the single
IB> local entry only ( and it didn't help.  Is my syntax
IB> wrong?

Best regards,

More information about the nginx mailing list