From 4cb31637006a33971464a03c1f055c3a87512b9a Mon Sep 17 00:00:00 2001 From: Alex Xu Date: Mon, 15 Jul 2013 15:05:23 -0400 Subject: nginx.conf: inline mime types --- nginx.conf | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'nginx.conf') 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; -- cgit v1.2.3-54-g00ecf