1 # This is a minimal example config
2 # See /usr/share/doc/lighttpd
3 # and http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ConfigurationOptions
6 server.username = "http"
7 server.groupname = "http"
8 server.document-root = "/srv/http"
9 server.errorlog = "/var/log/lighttpd/error.log"
10 dir-listing.activate = "enable"
11 index-file.names = ( "index.html" )
13 ".html" => "text/html",
14 ".txt" => "text/plain",
16 ".js" => "application/x-javascript",
17 ".jpg" => "image/jpeg",
18 ".jpeg" => "image/jpeg",
19 ".gif" => "image/gif",
20 ".png" => "image/png",
21 "" => "application/octet-stream"