correct upstream configuration for php-fpm?
Gena Makhomed
gmm at csdoc.com
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 (127.0.0.1) and it didn't help. Is my syntax
IB> wrong?
http://wiki.nginx.org/NginxHttpFcgiModule#fastcgi_pass
--
Best regards,
Gena
More information about the nginx
mailing list