From f719f3e8e4735451a4ed32eb8d97c0bce7c6e3e2 Mon Sep 17 00:00:00 2001 From: Philipp Becker Date: Tue, 21 Jul 2015 11:34:05 +0200 Subject: [PATCH] Update media types in `nginx.conf` --- nginx.conf | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/nginx.conf b/nginx.conf index be0c71c..41ed3d3 100644 --- a/nginx.conf +++ b/nginx.conf @@ -39,7 +39,7 @@ http { default_type application/octet-stream; # Update charset_types due to updated mime.types - charset_types text/xml text/plain text/vnd.wap.wml application/x-javascript application/rss+xml text/css application/javascript application/json; + charset_types text/css text/plain text/vnd.wap.wml application/javascript application/json application/rss+xml application/xml; # Format to use in log files log_format main '$remote_addr - $remote_user [$time_local] "$request" ' @@ -96,32 +96,25 @@ http { application/json application/ld+json application/manifest+json - application/rdf+xml application/rss+xml - application/schema+json application/vnd.geo+json application/vnd.ms-fontobject application/x-font-ttf - application/x-javascript application/x-web-app-manifest+json application/xhtml+xml application/xml - font/eot font/opentype image/bmp image/svg+xml - image/vnd.microsoft.icon image/x-icon text/cache-manifest text/css - text/javascript text/plain text/vcard text/vnd.rim.location.xloc text/vtt text/x-component - text/x-cross-domain-policy - text/xml; + text/x-cross-domain-policy; # text/html is always compressed by HttpGzipModule # This should be turned on if you are going to have pre-compressed copies (.gz) of