Skip to content
Snippets Groups Projects
lighttpd.conf.j2 549 B
Newer Older
dir-listing.encoding = "utf-8"

server.dir-listing = "enable"
server.document-root = "{{ lighttpd_datadirectory }}"
server.username = "nobody" 
server.groupname = "nobody" 
server.pid-file = "/var/run/lighttpd.pid"
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"
			)