Lighttpd: HTTP and HTTPS Simultaneously

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,

Scratch that, figured it out myself:

$SERVER[“socket”] == “:80” {

$SERVER[“socket”] == “:443” {
ssl.engine = “enable”
ssl.pemfile = “/var/www/test/public/”