aports/config/lighttpd/main.conf

29 lines
860 B
Plaintext
Raw Normal View History

2020-12-13 01:33:40 +00:00
var.basedir = "/http"
var.logdir = "/var/log/lighttpd"
var.statedir = "/run/lighttpd"
include "/etc/lighttpd/mime-types.conf"
server.bind = "[::]"
server.modules = ( "mod_access", "mod_deflate", "mod_webdav", "mod_dirlisting" )
server.username = "lighttpd"
server.groupname = "lighttpd"
server.document-root = var.basedir
server.pid-file = "/run/lighttpd.pid"
server.indexfiles = ("index.html")
server.follow-symlink = "disable"
server.event-handler = "linux-sysepoll"
server.chroot = var.basedir
server.port = 7574
server.upload-dirs = ("")
server.use-ipv6 = "enable"
dir-listing.activate = "enable"
url.access-deny = ("~")
deflate.filetypes = ("text/", "application/javascript")
webdav.activate = "enable"
webdav.is-readonly = "enable"