Update the nginx gzip MIME types.

This commit is contained in:
Roland Warmerdam 2012-06-19 17:00:12 +12:00
parent 3ede2df8bc
commit 17ba833a40
1 changed files with 3 additions and 5 deletions

View File

@ -60,19 +60,17 @@ http {
gzip_types
# text/html is always compressed by HttpGzipModule
text/css
text/javascript
text/xml
text/plain
text/x-component
application/javascript
application/x-javascript
application/json
application/xml
application/rss+xml
application/xhtml+xml
application/x-font-ttf
application/x-font-opentype
application/vnd.ms-fontobject
image/svg+xml;
image/svg+xml
image/x-icon;
# This should be turned on if you are going to have pre-compressed copies (.gz) of
# static files available. If not it should be left off as it will cause extra I/O