I am serving a site over SSL only via a Lighttpd proxy backed by two 1.2.4 instances running HTTP on 9001 and 9002 respectively. With this configuration I'm experiencing some issues attempting to log in through the proxy.
Authentication occurs fine (confirmed via logging) but the response is never received by the client. Logging in via one of the play ports works fine.
I'm also unable to get secure cookies to work using this method. Is this because the proxy to play connection is over HTTP? Should I worry about not having them encrypted or is the forced SSL enough?
Here's my Lighttpd config:
$SERVER["socket"] == ":443" {
ssl.engine = "enable"
ssl.pemfile = "/home/user/this.pem"
ssl.ca-file = "/home/user/that.crt"
proxy.balance = "round-robin"
proxy.debug = 1
proxy.server = (
"/" => (
( "host" => "127.0.0.1", "port" => 9001 ),
( "host" => "127.0.0.1", "port" => 9002 )
)
)
}
}
and the only changes to the default application.conf are:
application.session.cookie=SOMETHING
Does anyone see anything wrong with the configuration? Or perhaps have an example of a working, SSL-only configuration?