diff options
author | Alex Xu <alex_y_xu@yahoo.ca> | 2013-07-15 15:05:23 -0400 |
---|---|---|
committer | Alex Xu <alex_y_xu@yahoo.ca> | 2013-07-15 15:05:23 -0400 |
commit | 4cb31637006a33971464a03c1f055c3a87512b9a (patch) | |
tree | f62ac2f7b85bb8ea6ed6e93a025bd6a40a693aea | |
parent | 629e91372588758c8de74f7ab196f63f43efd9b5 (diff) | |
download | html5ks-4cb31637006a33971464a03c1f055c3a87512b9a.tar.xz html5ks-4cb31637006a33971464a03c1f055c3a87512b9a.zip |
nginx.conf: inline mime types
-rw-r--r-- | nginx.conf | 19 |
1 files changed, 18 insertions, 1 deletions
@@ -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; |