From 9e18fad61e8de91c9b0e4ace3bd5d578b67b5ec4 Mon Sep 17 00:00:00 2001 From: Michael De Roover Date: Sat, 2 Jan 2021 17:42:53 +0100 Subject: [PATCH] Add cleaned up lighttpd.conf --- lighttpd.conf | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 lighttpd.conf diff --git a/lighttpd.conf b/lighttpd.conf new file mode 100644 index 0000000..eb375f0 --- /dev/null +++ b/lighttpd.conf @@ -0,0 +1,26 @@ +var.basedir = "/var/www/konata" +var.logdir = "/var/log/lighttpd" +var.statedir = "/var/lib/lighttpd" + +server.modules = ( + "mod_access", + "mod_accesslog" +) + +include "mime-types.conf" +include "mod_cgi.conf" + +server.username = "lighttpd" +server.groupname = "lighttpd" + +server.pid-file = "/run/lighttpd.pid" + +server.indexfiles = ("index.php", "index.html", + "index.htm", "default.htm") + +server.follow-symlink = "enable" + +server.document-root = var.basedir +errorlog.filename = var.logdir + "/error.log" +accesslog.filename = var.logdir + "/access.log" +cgi.assign = ( ".sh" => "/bin/bash" )