请教lighttpd负载均衡实现
天霜地目 2011-05-01 01:31:52 介绍: 我有一个域名core.domain.com 想通过lighttpd负载均衡进行分发到core1.domain.com与core2.domain.com
现有配置
$HTTP["host"] == "core.domain.com" {
fastcgi.server = (".fcgi" =>
(
(
"host" => "192.168.55.110",
"port" => 3001
),
(
"host" => "192.168.55.172",
"port" => 80
)
)
)
}
但目前我了解资料只能以端口的形式进行部署
我想实现 host能够支持域名的形式,或者lighttpd负载均衡有其它的替代方案