changeset 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 ea014ed97581
children 2cca66b3e262
files lighttpd/rlgallery-ssl.conf lighttpd/rlgallery.conf
diffstat 2 files changed, 14 insertions(+), 1 deletions(-) [+]
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"
+}
--- 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"
 }
+