From 9f1df6ac18e713b95fa3138f1ca9d1a1824c16a4 Mon Sep 17 00:00:00 2001 From: Christian Boenning Date: Thu, 8 Nov 2012 10:41:24 +0100 Subject: [PATCH] update Microsoft Office Mime-Types (#94) This appears to be the complete List of Mime-Types for Microsoft Office > 2003 Reference: http://technet.microsoft.com/en-us/library/ee309278(v=office.12).aspx --- nginx/mime.types | 34 ++++++++++++++++++++++++++++++---- 1 file changed, 30 insertions(+), 4 deletions(-) diff --git a/nginx/mime.types b/nginx/mime.types index dd021c6..c1f7363 100644 --- a/nginx/mime.types +++ b/nginx/mime.types @@ -28,12 +28,9 @@ types { application/xml rss atom xml rdf; application/java-archive jar war ear; application/mac-binhex40 hqx; - application/msword doc; application/pdf pdf; application/postscript ps eps ai; application/rtf rtf; - application/vnd.ms-excel xls; - application/vnd.ms-powerpoint ppt; application/vnd.wap.wmlc wmlc; application/xhtml+xml xhtml; application/vnd.google-earth.kml+xml kml; @@ -63,7 +60,7 @@ types { application/octet-stream iso img; application/octet-stream msi msp msm; application/octet-stream safariextz; - + # Audio audio/midi mid midi kar; audio/mpeg mp3; @@ -90,4 +87,33 @@ types { application/x-font-ttf ttf ttc; application/x-font-opentype otf; application/x-font-woff woff; + + # Microsoft Office + application/msword doc; + application/vnd.ms-excel xls; + application/vnd.ms-powerpoint ppt; + application/vnd.openxmlformats-officedocument.wordprocessingml.document docx; + application/vnd.ms-word.document.macroEnabled.12 docm; + application/vnd.openxmlformats-officedocument.wordprocessingml.template dotx; + application/vnd.ms-word.template.macroEnabled.12 dotm; + application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx; + application/vnd.ms-excel.sheet.macroEnabled.12 xlsm; + application/vnd.openxmlformats-officedocument.spreadsheetml.template xltx; + application/vnd.ms-excel.template.macroEnabled.12 xltm; + application/vnd.ms-excel.sheet.binary.macroEnabled.12 xlsb; + application/vnd.ms-excel.addin.macroEnabled.12 xlam; + application/vnd.openxmlformats-officedocument.presentationml.presentation pptx; + application/vnd.ms-powerpoint.presentation.macroEnabled.12 pptm; + application/vnd.openxmlformats-officedocument.presentationml.slideshow ppsx; + application/vnd.ms-powerpoint.slideshow.macroEnabled.12 ppsm; + application/vnd.openxmlformats-officedocument.presentationml.template potx; + application/vnd.ms-powerpoint.template.macroEnabled.12 potm; + application/vnd.ms-powerpoint.addin.macroEnabled.12 ppam; + application/vnd.openxmlformats-officedocument.presentationml.slide sldx; + application/vnd.ms-powerpoint.slide.macroEnabled.12 sldm; + application/msonenote one; + application/msonenote onetoc2; + application/msonenote onetmp; + application/msonenote onepkg; + application/vnd.ms-officetheme thmx; }