diff options
-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; |