root/defaults/lighttpd.conf hinzugefügt
All checks were successful
/ release-and-build (push) Successful in 36s
All checks were successful
/ release-and-build (push) Successful in 36s
This commit is contained in:
22
root/defaults/lighttpd.conf
Normal file
22
root/defaults/lighttpd.conf
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
server.document-root = "/app/www"
|
||||||
|
|
||||||
|
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"
|
||||||
|
)
|
||||||
|
|
||||||
|
server.modules += ( "mod_access", "mod_accesslog" )
|
||||||
|
|
||||||
|
index-file.names = ( "index.html" )
|
||||||
|
|
||||||
|
server.event-handler = "linux-sysepoll"
|
||||||
Reference in New Issue
Block a user