2020-04-27 08:20:24 +02:00

25 lines
644 B
Django/Jinja

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")