Forum: Ruby on Rails Lighttpd: HTTP and HTTPS Simultaneously

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community 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
(http://wiki.archlinux.org/index.php/Lighttpd_For_B...).
Is there any way to do it just by editing lighttpd.conf?

Thanks a lot,
Scott
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/test.org.pem"
}
This topic is locked and can not be replied to.