summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Xu <alex_y_xu@yahoo.ca>2013-07-15 15:05:23 -0400
committerAlex Xu <alex_y_xu@yahoo.ca>2013-07-15 15:05:23 -0400
commit4cb31637006a33971464a03c1f055c3a87512b9a (patch)
treef62ac2f7b85bb8ea6ed6e93a025bd6a40a693aea
parent629e91372588758c8de74f7ab196f63f43efd9b5 (diff)
downloadhtml5ks-4cb31637006a33971464a03c1f055c3a87512b9a.tar.xz
html5ks-4cb31637006a33971464a03c1f055c3a87512b9a.zip
nginx.conf: inline mime types
-rw-r--r--nginx.conf19
1 files changed, 18 insertions, 1 deletions
diff --git a/nginx.conf b/nginx.conf
index 0dea5f4..fd33b24 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -12,7 +12,24 @@ http {
scgi_temp_path /dev/null;
uwsgi_temp_path /dev/null;
- include /etc/nginx/mime.types;
+ types {
+ application/font-woff woff;
+ application/javascript js;
+ application/json json;
+ application/x-font-ttf ttf;
+ audio/ogg ogg;
+ image/jpeg jpg;
+ image/png png;
+ image/svg+xml svg;
+ image/webp webp;
+ text/cache-manifest appcache;
+ text/css css;
+ text/html; charset=utf-8 html;
+ text/plain; charset=utf-8 txt;
+ video/mp4 mp4;
+ video/webm webm;
+ video/x-matroska mkv;
+ }
default_type application/octet-stream;
gzip on;