update template
This commit is contained in:
24
templates/lighttpd.conf.j2
Normal file
24
templates/lighttpd.conf.j2
Normal file
@ -0,0 +1,24 @@
|
||||
var.basedir = "/var/www/localhost"
|
||||
var.logdir = "/var/log/lighttpd"
|
||||
var.statedir = "/var/lib/lighttpd"
|
||||
|
||||
server.pid-file = "/run/lighttpd.pid"
|
||||
server.document-root = var.basedir + "/htdocs"
|
||||
server.errorlog = var.logdir + "/error.log"
|
||||
|
||||
server.username = "lighttpd"
|
||||
server.groupname = "lighttpd"
|
||||
|
||||
server.modules = (
|
||||
"mod_access",
|
||||
)
|
||||
|
||||
include "mime-types.conf"
|
||||
|
||||
server.indexfiles = ("index.php", "index.html",
|
||||
"index.htm", "default.htm")
|
||||
|
||||
server.follow-symlink = "enable"
|
||||
static-file.exclude-extensions = (".php", ".pl", ".cgi", ".fcgi")
|
||||
|
||||
url.access-deny = ("~", ".inc")
|
Reference in New Issue
Block a user