How to configure LEB + lowendscript nginx so 2 diff sites on same server can communicate?
I have a LEB configured using the lowendscript. Doing this doesn't work:
<? echo file_get_contents("hxxp://IP_OF_SERVER"); ?>
(change xx to tt) then put into browser http://IP_OF_SERVER/get.php
After much head scratching, I thought what was happening here is worker 1 is sending out the request for data. But seeing as the worker limit is 1, there's no worker available to send the data back. So it hangs. So I can't get two different sites on the same server to communicate (via XMLRPC).
So, I changed the nginx.conf to
(otherwise it's identical to the default lowendscript provides), and restarted everything, and I can see 3 nginx and 2 php-cgi in the top command .. but it still hangs with "upstream timed out (110: Connection timed out)" in the error log.
Have any of you LEBers managed to get 2 sites on the same server XMLRPCing to each other? If so, what's your config?