summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;