annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
76
c99fac2b0dc7 Add files related to SSL support.
John "Elwin" Edwards
parents:
diff changeset
1 # Lighttpd SSL configuration for rlgallery.org
c99fac2b0dc7 Add files related to SSL support.
John "Elwin" Edwards
parents:
diff changeset
2 # Include in the main lighttpd configuration file
c99fac2b0dc7 Add files related to SSL support.
John "Elwin" Edwards
parents:
diff changeset
3
80
716f8305d412 Update lighttpd configuration files.
John "Elwin" Edwards
parents: 76
diff changeset
4 server.modules += ( "mod_openssl" )
716f8305d412 Update lighttpd configuration files.
John "Elwin" Edwards
parents: 76
diff changeset
5
716f8305d412 Update lighttpd configuration files.
John "Elwin" Edwards
parents: 76
diff changeset
6 $SERVER["socket"] == "0.0.0.0:443" {
76
c99fac2b0dc7 Add files related to SSL support.
John "Elwin" Edwards
parents:
diff changeset
7 ssl.engine = "enable"
c99fac2b0dc7 Add files related to SSL support.
John "Elwin" Edwards
parents:
diff changeset
8 ssl.pemfile = "/etc/lighttpd/ssl/host.pem"
c99fac2b0dc7 Add files related to SSL support.
John "Elwin" Edwards
parents:
diff changeset
9 ssl.ca-file = "/etc/lighttpd/ssl/chain.pem"
c99fac2b0dc7 Add files related to SSL support.
John "Elwin" Edwards
parents:
diff changeset
10 }
80
716f8305d412 Update lighttpd configuration files.
John "Elwin" Edwards
parents: 76
diff changeset
11
716f8305d412 Update lighttpd configuration files.
John "Elwin" Edwards
parents: 76
diff changeset
12 $SERVER["socket"] == "[::]:443" {
716f8305d412 Update lighttpd configuration files.
John "Elwin" Edwards
parents: 76
diff changeset
13 ssl.engine = "enable"
716f8305d412 Update lighttpd configuration files.
John "Elwin" Edwards
parents: 76
diff changeset
14 ssl.pemfile = "/etc/lighttpd/ssl/host.pem"
716f8305d412 Update lighttpd configuration files.
John "Elwin" Edwards
parents: 76
diff changeset
15 ssl.ca-file = "/etc/lighttpd/ssl/chain.pem"
716f8305d412 Update lighttpd configuration files.
John "Elwin" Edwards
parents: 76
diff changeset
16 }