From e613afc76f6c4e3cc7f7aa7681f43a1af43040f9 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 (h5bp/server-configs#94) Add mimetypes for all major MS office file types > 2003 Reference: http://technet.microsoft.com/en-us/library/ee309278(v=office.12).aspx --- nginx/mime.types | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/nginx/mime.types b/nginx/mime.types index dd021c6..b6e6981 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,12 @@ 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.openxmlformats-officedocument.spreadsheetml.sheet xlsx; + application/vnd.openxmlformats-officedocument.presentationml.presentation pptx; }