A non-root Docker container for lighttpd that also adds a mime-types.conf
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

29 lines
620 B

var.logdir = "/var/log/lighttpd"
var.statedir = "/var/lib/lighttpd"
server.modules = (
"mod_access",
"mod_accesslog",
"mod_setenv",
)
accesslog.filename = "/dev/fd/2"
include "mime-types.conf"
server.document-root = "/srv/html/"
server.pid-file = "/tmp/lighttpd.pid"
server.errorlog-use-syslog = "enable"
accesslog.use-syslog = "enable"
server.indexfiles = ("index.html", "index.htm", "default.htm")
server.port = 8080
url.access-deny = ("~", ".inc")
server.network-backend = "writev"
server.tag = "If you're reading this you're up to no good..."
include "/etc/lighttpd/conf.d/*.conf"