summaryrefslogtreecommitdiff
path: root/lighttpd.conf
diff options
context:
space:
mode:
authorAlex Xu <alex_y_xu@yahoo.ca>2013-06-21 15:26:31 -0400
committerAlex Xu <alex_y_xu@yahoo.ca>2013-06-21 15:26:31 -0400
commite7200fa50a7d323885f3e15d3692794ce99543e3 (patch)
treefa0855f0352d0a5700a2dfdf0416b92373498e58 /lighttpd.conf
parent0587fcf1e4dca62780a242553c3298912545be15 (diff)
downloadhtml5ks-e7200fa50a7d323885f3e15d3692794ce99543e3.tar.xz
html5ks-e7200fa50a7d323885f3e15d3692794ce99543e3.zip
still working
Diffstat (limited to 'lighttpd.conf')
-rw-r--r--lighttpd.conf17
1 files changed, 9 insertions, 8 deletions
diff --git a/lighttpd.conf b/lighttpd.conf
index f40fcb2..745a5d7 100644
--- a/lighttpd.conf
+++ b/lighttpd.conf
@@ -1,22 +1,23 @@
server.document-root = var.CWD + "/www"
server.port = 8080
mimetype.assign = (
- ".html" => "text/html; charset=utf-8",
- ".js" => "text/javascript",
".css" => "text/css",
- ".txt" => "text/plain",
+ ".html" => "text/html; charset=utf-8",
".jpg" => "image/jpeg",
+ ".js" => "text/javascript",
+ ".mkv" => "video/x-matroska",
+ ".ogg" => "audio/ogg",
".png" => "image/png",
- ".webp" => "image/webp",
".svg" => "image/svg+xml",
+ ".ttf" => "application/x-font-ttf",
+ ".txt" => "text/plain; charset=utf-8",
".webm" => "video/webm",
- ".mkv" => "video/x-matroska",
- ".ogg" => "audio/ogg",
+ ".webp" => "image/webp",
".woff" => "application/font-woff"
)
index-file.names = ("index.html")
-server.modules = ( "mod_expire", "mod_compress" )
dir-listing.activate = "enable"
+server.modules = ( "mod_compress", "mod_expire" )
+expire.url = ("/dump/" => "access plus 1 years")
compress.cache-dir = "/tmp/lighttpd-compress"
compress.filetype = ("text/html", "text/plain", "text/css", "text/javascript")
-expire.url = ("/dump/" => "access plus 1 years")