lighttpd.conf.j2 549 Bytes
Newer Older
Pietsch, Martin's avatar
Pietsch, Martin committed
1 2 3 4 5 6 7
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"
8 9 10 11 12 13 14 15 16 17 18 19 20
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"
			)