2
1
Fork 0
mirror of https://git.savannah.gnu.org/git/gnuboot.git synced 2025-01-13 19:06:47 +01:00
gnuboot/lighttpd.conf.tmpl
Denis 'GNUtoo' Carikli 58fc2a673d
Add the ability to test the website locally
That serve the website to http://127.0.0.1:8080/

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2022-11-24 02:35:06 +01:00

16 lines
455 B
Cheetah

server.bind = "localhost"
server.port = 8080
server.document-root = "TMPDIR"
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"
)