2024-05-21 16:52:09 +02:00
|
|
|
# Copyright (C) 2023 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
|
|
|
#
|
|
|
|
# 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 <https://www.gnu.org/licenses/>.
|
|
|
|
|
2022-11-23 01:39:34 +01:00
|
|
|
server.bind = "localhost"
|
2023-12-23 07:55:23 +01:00
|
|
|
server.port = LIGHTTPD_PORT
|
2022-11-23 01:39:34 +01:00
|
|
|
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"
|
|
|
|
)
|