2022-11-23 01:39:34 +01:00
|
|
|
server.bind = "localhost"
|
2023-12-23 07:55:23 +01:00
|
|
|
server.port = LIGHTTPD_PORT
|
2023-11-14 03:22:37 +01:00
|
|
|
server.document-root = var.CWD + "/site/"
|
2022-11-23 01:39:34 +01:00
|
|
|
dir-listing.activate = "enable"
|
|
|
|
index-file.names = ( "index.html" )
|
|
|
|
mimetype.assign = (
|
|
|
|
".html" => "text/html",
|
|
|
|
".txt" => "text/plain",
|
|
|
|
".css" => "text/css",
|
|
|
|
".js" => "application/x-javascript",
|
|
|
|
".jpg" => "image/jpeg",
|
|
|
|
".jpeg" => "image/jpeg",
|
|
|
|
".gif" => "image/gif",
|
|
|
|
".png" => "image/png",
|
|
|
|
"" => "application/octet-stream"
|
|
|
|
)
|