Quote:
Originally Posted by amcd
lighttpd itself is the best load balancer around.
|
I totally agree.
1 webserver (lighttpd)
- 10.0.0.10
4 php-fastcgi-backends
- 10.0.0.20 ... .23
The config snippet for lighttpd:
Code:
fastcgi.server = (
".php" => (
("host" => "10.0.0.20", "port" => 2000, "broken-scriptfilename" => "enable"),
("host" => "10.0.0.21", "port" => 2000, "broken-scriptfilename" => "enable"),
("host" => "10.0.0.22", "port" => 2000, "broken-scriptfilename" => "enable"),
("host" => "10.0.0.23", "port" => 2000, "broken-scriptfilename" => "enable")
)
)