This commit is contained in:
25
root/defaults/lighttpd.conf
Normal file
25
root/defaults/lighttpd.conf
Normal file
@@ -0,0 +1,25 @@
|
||||
server.document-root = "/app/www/alpine"
|
||||
|
||||
server.port = 80
|
||||
|
||||
server.username = "pi"
|
||||
server.groupname = "users"
|
||||
|
||||
mimetype.assign = (
|
||||
".html" => "text/html",
|
||||
".txt" => "text/plain",
|
||||
".jpg" => "image/jpeg",
|
||||
".png" => "image/png",
|
||||
".css" => "text/css",
|
||||
".js" => "application/x-javascript",
|
||||
".svg" => "image/svg+xml"
|
||||
)
|
||||
|
||||
dir-listing.activate = "enable"
|
||||
|
||||
server.modules += ( "mod_access", "mod_accesslog", "mod_setenv" )
|
||||
index-file.names = ( "index.html" )
|
||||
server.event-handler = "linux-sysepoll"
|
||||
setenv.add-response-header += (
|
||||
"Cache-Control" => "must-revalidate"
|
||||
)
|
||||
Reference in New Issue
Block a user