void-packages/srcpkgs/lighttpd/files/lighttpd.conf

13 lines
506 B
Plaintext

# This is a minimal example config
# See /usr/share/doc/lighttpd
# and http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ConfigurationOptions
server.port = 80
server.username = "_lighttpd"
server.groupname = "_lighttpd"
server.document-root = "/srv/www/lighttpd"
server.errorlog = "/var/log/lighttpd/error.log"
dir-listing.activate = "enable"
index-file.names = ( "index.html" )
mimetype.assign = ( ".html" => "text/html", ".txt" => "text/plain", ".jpg" => "image/jpeg", ".png" => "image/png" )