Mercurial > hg > rlgallery-misc
diff lighttpd/rlgallery-ssl.conf @ 80:716f8305d412
Update lighttpd configuration files.
Lighttpd now requires explicitly specifying both IPv4 and IPv6
addresses.
author | John "Elwin" Edwards |
---|---|
date | Wed, 27 Dec 2017 14:54:58 -0500 |
parents | c99fac2b0dc7 |
children |
line wrap: on
line diff
--- a/lighttpd/rlgallery-ssl.conf Fri Jan 13 17:36:23 2017 -0500 +++ b/lighttpd/rlgallery-ssl.conf Wed Dec 27 14:54:58 2017 -0500 @@ -1,8 +1,16 @@ # Lighttpd SSL configuration for rlgallery.org # Include in the main lighttpd configuration file -$SERVER["socket"] == ":443" { +server.modules += ( "mod_openssl" ) + +$SERVER["socket"] == "0.0.0.0:443" { ssl.engine = "enable" ssl.pemfile = "/etc/lighttpd/ssl/host.pem" ssl.ca-file = "/etc/lighttpd/ssl/chain.pem" } + +$SERVER["socket"] == "[::]:443" { + ssl.engine = "enable" + ssl.pemfile = "/etc/lighttpd/ssl/host.pem" + ssl.ca-file = "/etc/lighttpd/ssl/chain.pem" +}