]> git.p6c8.net - jirafeau_mojo42.git/blob - docker/lighttpd.conf
[TASK] Add scripts to add, remove and delete locales
[jirafeau_mojo42.git] / docker / lighttpd.conf
1 var.basedir = "/www"
2 var.logdir = "/var/log/lighttpd"
3 var.statedir = "/var/lib/lighttpd"
4
5 server.modules = (
6 "mod_access",
7 "mod_usertrack",
8 "mod_expire",
9 "mod_accesslog"
10 )
11
12 include "mime-types.conf"
13 include "mod_fastcgi_fpm.conf"
14
15 server.username = "lighttpd"
16 server.groupname = "lighttpd"
17
18 server.pid-file = "/run/lighttpd.pid"
19 server.errorlog = var.logdir + "/error.log"
20 server.indexfiles = ("index.php", "index.html", "index.htm")
21 server.follow-symlink = "enable"
22 server.document-root = var.basedir
23
24 dir-listing.show-header = "disable"
25 dir-listing.hide-header-file = "enable"
26 dir-listing.activate = "disable"
27
28 static-file.exclude-extensions = (".php")
29
30 accesslog.filename = var.logdir + "/access.log"
31 url.access-deny = ("~", ".inc")
32 $HTTP["url"] =~ "^/var-*" {
33 url.access-deny = ("")
34 }

patrick-canterino.de