mirror of
https://gitlab.com/mojo42/Jirafeau.git
synced 2025-01-17 12:58:20 +01:00
65b5afd798
- exposed port - fix lighttpd user - setup www-data group
37 lines
883 B
Plaintext
37 lines
883 B
Plaintext
var.basedir = "/www"
|
|
var.logdir = "/var/log/lighttpd"
|
|
var.statedir = "/var/lib/lighttpd"
|
|
|
|
server.port = 80
|
|
server.modules = (
|
|
"mod_access",
|
|
"mod_usertrack",
|
|
"mod_expire",
|
|
"mod_accesslog"
|
|
)
|
|
|
|
include "mime-types.conf"
|
|
include "mod_fastcgi_fpm.conf"
|
|
|
|
server.username = "lighttpd"
|
|
server.groupname = "www-data"
|
|
|
|
server.pid-file = "/run/lighttpd.pid"
|
|
server.errorlog = var.logdir + "/error.log"
|
|
server.indexfiles = ("index.php", "index.html", "index.htm")
|
|
server.follow-symlink = "enable"
|
|
server.document-root = var.basedir
|
|
server.max-request-size = 0
|
|
|
|
dir-listing.show-header = "disable"
|
|
dir-listing.hide-header-file = "enable"
|
|
dir-listing.activate = "disable"
|
|
|
|
static-file.exclude-extensions = (".php")
|
|
|
|
accesslog.filename = var.logdir + "/access.log"
|
|
url.access-deny = ("~", ".inc")
|
|
$HTTP["url"] =~ "^/var-*" {
|
|
url.access-deny = ("")
|
|
}
|