this is what i have:<br><br>upstream handlephp<br>{<br> server <a href="http://127.0.0.1:9000">127.0.0.1:9000</a>;<br> server <a href="http://192.168.1.3:9000">192.168.1.3:9000</a>;<br>}<br><br>server<br>{<br> location ~ \.php$<br>
{<br> include fcgi;<br> fastcgi_pass <a href="http://handlephp">http://handlephp</a>;<br> }<br>}<br><br>This gives configuration error of: invalid upstream in host, on the fastcgi_pass line. When I change it to: proxy_pass <a href="http://handlephp">http://handlephp</a>, I don't get the configuration error but the website gives a "bad gateway error". I tried it with the single local entry only (127.0.0.1) and it didn't help. Is my syntax wrong? Am I missing any directives?<br>
<br>Thanks<br>