Lighttpd as a proxy to a https host
- by Homer J. Simpson
Hi,
I am trying to set up a lighttpd as proxy from one server to another (which is running Apache/SSL), having trouble with the https part..
I want to be able to capture https requests and let the Apache server handle it, trying this:
$SERVER["socket"] == ":443" {
$HTTP["host"] == "www.mydomain.com" {
proxy.server = ( "" => ( ( "host" => "123.123.123.123", # the Apache
"port" => 443)))
}
}
Normal port 80 requests are working fine.. What am I doing wrong ?
Edit:
Additionaly, error.log doesnt show anything.. Requests to https://www.mydomain.com are not finishing.