# HG changeset patch # User John "Elwin" Edwards # Date 1514404498 18000 # Node ID 716f8305d41231b9a5a70061515e599ce4d4e4e9 # Parent ea014ed975811165d74975281fa7de73ae1f0d8b Update lighttpd configuration files. Lighttpd now requires explicitly specifying both IPv4 and IPv6 addresses. diff -r ea014ed97581 -r 716f8305d412 lighttpd/rlgallery-ssl.conf --- 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" +} diff -r ea014ed97581 -r 716f8305d412 lighttpd/rlgallery.conf --- a/lighttpd/rlgallery.conf Fri Jan 13 17:36:23 2017 -0500 +++ b/lighttpd/rlgallery.conf Wed Dec 27 14:54:58 2017 -0500 @@ -1,6 +1,10 @@ # lighttpd configuration file for rlgallery.org # Include this file in your lighttpd.conf +# IPv4 and IPv6 addresses need to be explicitly specified +server.bind = "0.0.0.0" +$SERVER["socket"] == "[::]:80" { } + # Ensure index.cgi is in the list index-file.names += ( "index.xhtml", "index.html", "index.htm", "index.cgi" @@ -35,3 +39,4 @@ $HTTP["url"] =~ "^/ttyrecs/" { dir-listing.activate = "enable" } +