diff options
Diffstat (limited to 'lighttpd.conf')
-rw-r--r-- | lighttpd.conf | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lighttpd.conf b/lighttpd.conf new file mode 100644 index 000000000000..8ec7909415ff --- /dev/null +++ b/lighttpd.conf @@ -0,0 +1,22 @@ +# 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 = "http" +server.groupname = "http" +server.document-root = "/srv/http" +server.errorlog = "/var/log/lighttpd/error.log" +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" + ) |