summaryrefslogtreecommitdiff
path: root/lighttpd.conf
diff options
context:
space:
mode:
authorAlex Xu <alex_y_xu@yahoo.ca>2013-06-26 15:32:29 -0400
committerAlex Xu <alex_y_xu@yahoo.ca>2013-06-26 15:32:29 -0400
commitd7c088b5ec377fd85742fe4f661c790d5a0af059 (patch)
treec4b102a29006b2639bb76ad4b348a6e59a134fff /lighttpd.conf
parent6970fa25d943f1a438b58191251b75d7914e26fb (diff)
downloadhtml5ks-d7c088b5ec377fd85742fe4f661c790d5a0af059.tar.xz
html5ks-d7c088b5ec377fd85742fe4f661c790d5a0af059.zip
doooo stoooof
Diffstat (limited to 'lighttpd.conf')
-rw-r--r--lighttpd.conf5
1 files changed, 3 insertions, 2 deletions
diff --git a/lighttpd.conf b/lighttpd.conf
index 24b2bf2..de0328a 100644
--- a/lighttpd.conf
+++ b/lighttpd.conf
@@ -5,7 +5,8 @@ mimetype.assign = (
".css" => "text/css",
".html" => "text/html; charset=utf-8",
".jpg" => "image/jpeg",
- ".js" => "text/javascript",
+ ".js" => "application/javascript",
+ ".json" => "application/json",
# ".mkv" => "video/x-matroska",
".ogg" => "audio/ogg",
".png" => "image/png",
@@ -29,4 +30,4 @@ setenv.add-response-header += (
)
compress.cache-dir = "/tmp/lighttpd-compress"
-compress.filetype = ("text/html", "text/plain", "text/css", "text/javascript")
+compress.filetype = ("text/html", "text/plain", "text/css", "application/javascript", "application/json")