Load Balancing PHP

Mickie D nginx-forum at nginx.us
Mon May 31 22:53:35 MSD 2010


[code]
upstream newsite {
  server 127.0.0.1:9000;
  server 15.82.114.196:9001;
  }

server
     {
             listen       80;
             server_name  thissite.com;
             index index.html index.htm index.php;
             root  /data0/htdocs/www/forum;



             location ~ .*\.php?$
             {
                  include fcgi.conf;
                  fastcgi_pass  newsite;
                fastcgi_index index.php;


             }
[/code]


I think this might be a permission thing ? but I have no idea how to fix it

Still getting the:

[b]no input file specified[/b]

Not sure how to make the main server work with my other server ?

Thank you very much

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,92738,92775#msg-92775




More information about the nginx mailing list