Update lighttpd configuration files.
Lighttpd now requires explicitly specifying both IPv4 and IPv6 addresses.
This commit is contained in:
parent
d7bb84f08d
commit
b484270d70
2 changed files with 14 additions and 1 deletions
|
|
@ -1,7 +1,15 @@
|
|||
# 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"
|
||||
|
|
|
|||
|
|
@ -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"] =~ "^/files/" {
|
|||
$HTTP["url"] =~ "^/ttyrecs/" {
|
||||
dir-listing.activate = "enable"
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue