Merge pull request #112 from philippbecker/mime-types

Update media types
This commit is contained in:
Andy Dawson 2015-09-11 10:49:24 +02:00
commit e2ab3b5800
2 changed files with 10 additions and 17 deletions

View File

@ -41,15 +41,15 @@ types {
image/vnd.wap.wbmp wbmp; image/vnd.wap.wbmp wbmp;
image/webp webp; image/webp webp;
image/x-jng jng; image/x-jng jng;
video/3gpp 3gpp 3gp; video/3gpp 3gp 3gpp;
video/mp4 f4v f4p m4v mp4; video/mp4 f4p f4v m4v mp4;
video/mpeg mpeg mpg; video/mpeg mpeg mpg;
video/ogg ogv; video/ogg ogv;
video/quicktime mov; video/quicktime mov;
video/webm webm; video/webm webm;
video/x-flv flv; video/x-flv flv;
video/x-mng mng; video/x-mng mng;
video/x-ms-asf asx asf; video/x-ms-asf asf asx;
video/x-ms-wmv wmv; video/x-ms-wmv wmv;
video/x-msvideo avi; video/x-msvideo avi;
@ -90,11 +90,11 @@ types {
# Other # Other
application/java-archive jar war ear; application/java-archive ear jar war;
application/mac-binhex40 hqx; application/mac-binhex40 hqx;
application/octet-stream bin deb dll dmg exe img iso msi msm msp safariextz; application/octet-stream bin deb dll dmg exe img iso msi msm msp safariextz;
application/pdf pdf; application/pdf pdf;
application/postscript ps eps ai; application/postscript ai eps ps;
application/rtf rtf; application/rtf rtf;
application/vnd.google-earth.kml+xml kml; application/vnd.google-earth.kml+xml kml;
application/vnd.google-earth.kmz kmz; application/vnd.google-earth.kmz kmz;
@ -109,20 +109,20 @@ types {
application/x-makeself run; application/x-makeself run;
application/x-opera-extension oex; application/x-opera-extension oex;
application/x-perl pl pm; application/x-perl pl pm;
application/x-pilot prc pdb; application/x-pilot pdb prc;
application/x-rar-compressed rar; application/x-rar-compressed rar;
application/x-redhat-package-manager rpm; application/x-redhat-package-manager rpm;
application/x-sea sea; application/x-sea sea;
application/x-shockwave-flash swf; application/x-shockwave-flash swf;
application/x-stuffit sit; application/x-stuffit sit;
application/x-tcl tcl tk; application/x-tcl tcl tk;
application/x-x509-ca-cert der pem crt; application/x-x509-ca-cert crt der pem;
application/x-xpinstall xpi; application/x-xpinstall xpi;
application/xhtml+xml xhtml; application/xhtml+xml xhtml;
application/xslt+xml xsl; application/xslt+xml xsl;
application/zip zip; application/zip zip;
text/css css; text/css css;
text/html html htm shtml; text/html htm html shtml;
text/mathml mml; text/mathml mml;
text/plain txt; text/plain txt;
text/vcard vcard vcf; text/vcard vcard vcf;

View File

@ -39,7 +39,7 @@ http {
default_type application/octet-stream; default_type application/octet-stream;
# Update charset_types due to updated mime.types # 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 # Format to use in log files
log_format main '$remote_addr - $remote_user [$time_local] "$request" ' log_format main '$remote_addr - $remote_user [$time_local] "$request" '
@ -99,32 +99,25 @@ http {
application/json application/json
application/ld+json application/ld+json
application/manifest+json application/manifest+json
application/rdf+xml
application/rss+xml application/rss+xml
application/schema+json
application/vnd.geo+json application/vnd.geo+json
application/vnd.ms-fontobject application/vnd.ms-fontobject
application/x-font-ttf application/x-font-ttf
application/x-javascript
application/x-web-app-manifest+json application/x-web-app-manifest+json
application/xhtml+xml application/xhtml+xml
application/xml application/xml
font/eot
font/opentype font/opentype
image/bmp image/bmp
image/svg+xml image/svg+xml
image/vnd.microsoft.icon
image/x-icon image/x-icon
text/cache-manifest text/cache-manifest
text/css text/css
text/javascript
text/plain text/plain
text/vcard text/vcard
text/vnd.rim.location.xloc text/vnd.rim.location.xloc
text/vtt text/vtt
text/x-component text/x-component
text/x-cross-domain-policy text/x-cross-domain-policy;
text/xml;
# text/html is always compressed by HttpGzipModule # text/html is always compressed by HttpGzipModule
# This should be turned on if you are going to have pre-compressed copies (.gz) of # This should be turned on if you are going to have pre-compressed copies (.gz) of