From dac22e627f3c716201556537849743387464c73d Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Tue, 26 Dec 2023 16:01:56 +0100 Subject: Initial import Signed-off-by: Denis 'GNUtoo' Carikli --- lighttpd.conf | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 lighttpd.conf (limited to 'lighttpd.conf') diff --git a/lighttpd.conf b/lighttpd.conf new file mode 100644 index 0000000..b0917fb --- /dev/null +++ b/lighttpd.conf @@ -0,0 +1,31 @@ +# Copyright (C) 2023 Denis 'GNUtoo' Carikli +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +server.bind = "localhost" +server.port = 8086 +server.document-root = "/home/gnutoo/work/projects/replicant/infrastructure/haunt/site/" +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" + ) -- cgit v1.2.3