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