]> git.p6c8.net - jirafeau_mojo42.git/blob - docker/lighttpd.conf
Mention that source and destination file must not be the same and abort if they are...
[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.port = 80
6 server.modules = (
7 "mod_access",
8 # "mod_usertrack",
9 "mod_expire",
10 "mod_accesslog"
11 )
12
13 include "mime-types.conf"
14 include "mod_fastcgi_fpm.conf"
15
16 server.username = "lighttpd"
17 server.groupname = "www-data"
18
19 server.pid-file = "/run/lighttpd.pid"
20 server.errorlog = var.logdir + "/error.log"
21 server.indexfiles = ("index.php", "index.html", "index.htm")
22 server.follow-symlink = "enable"
23 server.document-root = var.basedir
24 server.max-request-size = 0
25
26 dir-listing.show-header = "disable"
27 dir-listing.hide-header-file = "enable"
28 dir-listing.activate = "disable"
29
30 static-file.exclude-extensions = (".php")
31
32 accesslog.filename = var.logdir + "/access.log"
33 url.access-deny = ("~", ".inc")
34 $HTTP["url"] =~ "^/var-*" {
35 url.access-deny = ("")
36 }

patrick-canterino.de