Forum: Ruby on Rails Lighttpd: HTTP and HTTPS Simultaneously

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Scott Fortmann-Roe (Guest)
on 2006-05-31 14:48
(Received via mailing list)
Hi is it possible to configure lighttpd to serve pages for http and
https requests simultaneously? I would like users to be able to access
my site securely or non-securely where the choice is theirs.

The only instructions I can find to do this involve creating two
copies of the lighttpd application
Is there any way to do it just by editing lighttpd.conf?

Thanks a lot,
Scott Fortmann-Roe (Guest)
on 2006-05-31 15:10
(Received via mailing list)
Scratch that, figured it out myself:

$SERVER["socket"] == ":80" {

$SERVER["socket"] == ":443" {
ssl.engine                  = "enable"
ssl.pemfile                 = "/var/www/test/public/"
This topic is locked and can not be replied to.