Browse Source

[doc] update config files

github: closes #108
master
Istiak Ferdous 3 months ago
committed by Glenn Strauss
parent
commit
94edf7e844
  1. 14
      doc/config/lighttpd.conf
  2. 3
      doc/config/vhosts.d/vhosts.template

14
doc/config/lighttpd.conf

@ -75,7 +75,7 @@ var.socket_dir = home_dir + "/sockets"
#######################################################################
##
## Load the modules.
include "modules.conf"
include conf_dir + "/modules.conf"
##
#######################################################################
@ -155,13 +155,13 @@ server.errorlog = log_root + "/error.log"
##
## Access log config
##
include "conf.d/access_log.conf"
include conf_dir + "/conf.d/access_log.conf"
##
## The debug options are moved into their own file.
## see conf.d/debug.conf for various options for request debugging.
##
include "conf.d/debug.conf"
include conf_dir + "/conf.d/debug.conf"
##
#######################################################################
@ -393,12 +393,12 @@ static-file.exclude-extensions = ( ".php", ".pl", ".fcgi", ".scgi" )
##
## mimetype mapping
##
include "conf.d/mime.conf"
include conf_dir + "/conf.d/mime.conf"
##
## directory listing configuration
##
include "conf.d/dirlisting.conf"
include conf_dir + "/conf.d/dirlisting.conf"
##
## Should lighttpd follow symlinks?
@ -478,7 +478,7 @@ include "conf.d/dirlisting.conf"
##
## custom includes like vhosts.
##
#include "conf.d/config.conf"
#include "/etc/lighttpd/vhosts.d/*.conf"
#include conf_dir + "/conf.d/config.conf"
#include conf_dir + "/vhosts.d/*.conf"
##
#######################################################################

3
doc/config/vhosts.d/vhosts.template

@ -16,9 +16,10 @@ $HTTP["host"] == "download.example.com" {
server.document-root = vhosts_dir + "/example.com/download/htdocs"
##
## use a seperate access log file
## At the moment you cant have different error log files.
## Since lighttpd 1.4.56, server.errorlog can also be used in virtual hosts.
##
accesslog.filename = log_root + "/" + server_name + "/access.log"
server.errorlog = log_root + "/" + server_name + "/error.log"
}
$SERVER["socket"] == "127.0.0.1:443" {

Loading…
Cancel
Save