I am trying to configure lighttpd for proxy traffic to one relative path to one proxy server and traffic to another path to another proxy server.
For instance:
http:
http:
I flumoxed trying to figure out how to configure / apathname /. This is an example of what I have configured so far, which directs all traffic to 123.111.111.1
$HTTP["host"] =~ "mydomain.com" {
proxy.balance = "fair"
proxy.server = (
"" =>
(
("host" => "123.111.111.1", "port" => "80" )
),
"apathname" =>
(
( "host" => "123.111.111.2", "port" => "80" )
)
)
}
My apologies if this question should be on another SO site. I am primarily an encoder, not a guy on the network, and I know that I always get the best answers on CA, so I ask here.
source
share