Changes between Initial Version and Version 1 of Ticket #306, comment 3


Ignore:
Timestamp:
02/22/13 21:59:51 (11 years ago)
Author:
aitte.myopenid.com

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #306, comment 3

    initial v1  
    1 This is my own corrected mime.types file which fixes the .js type, removes the incorrect .eot type, and adds the 4 WebFont types, but more fixes may be needed.
     1Have a look at the HTML5Boilerplate project; they have an Nginx config sub-project with a very well maintained mime-type list:
    22
    3 {{{
    4 types {
    5     text/html                             html htm shtml;
    6     text/css                              css;
    7     text/xml                              xml;
    8     image/gif                             gif;
    9     image/jpeg                            jpeg jpg;
    10     application/javascript                js;
    11     application/atom+xml                  atom;
    12     application/rss+xml                   rss;
    13 
    14     text/mathml                           mml;
    15     text/plain                            txt;
    16     text/vnd.sun.j2me.app-descriptor      jad;
    17     text/vnd.wap.wml                      wml;
    18     text/x-component                      htc;
    19 
    20     image/png                             png;
    21     image/tiff                            tif tiff;
    22     image/vnd.wap.wbmp                    wbmp;
    23     image/x-icon                          ico;
    24     image/x-jng                           jng;
    25     image/x-ms-bmp                        bmp;
    26     image/svg+xml                         svg svgz;
    27     image/webp                            webp;
    28 
    29     application/vnd.ms-fontobject         eot;
    30     application/x-font-ttf                ttf;
    31     application/x-font-woff               woff;
    32     application/x-font-opentype           otf;
    33 
    34     application/java-archive              jar war ear;
    35     application/mac-binhex40              hqx;
    36     application/msword                    doc;
    37     application/pdf                       pdf;
    38     application/postscript                ps eps ai;
    39     application/rtf                       rtf;
    40     application/vnd.ms-excel              xls;
    41     application/vnd.ms-powerpoint         ppt;
    42     application/vnd.wap.wmlc              wmlc;
    43     application/vnd.google-earth.kml+xml  kml;
    44     application/vnd.google-earth.kmz      kmz;
    45     application/x-7z-compressed           7z;
    46     application/x-cocoa                   cco;
    47     application/x-java-archive-diff       jardiff;
    48     application/x-java-jnlp-file          jnlp;
    49     application/x-makeself                run;
    50     application/x-perl                    pl pm;
    51     application/x-pilot                   prc pdb;
    52     application/x-rar-compressed          rar;
    53     application/x-redhat-package-manager  rpm;
    54     application/x-sea                     sea;
    55     application/x-shockwave-flash         swf;
    56     application/x-stuffit                 sit;
    57     application/x-tcl                     tcl tk;
    58     application/x-x509-ca-cert            der pem crt;
    59     application/x-xpinstall               xpi;
    60     application/xhtml+xml                 xhtml;
    61     application/zip                       zip;
    62 
    63     application/octet-stream              bin exe dll;
    64     application/octet-stream              deb;
    65     application/octet-stream              dmg;
    66     application/octet-stream              iso img;
    67     application/octet-stream              msi msp msm;
    68 
    69     audio/midi                            mid midi kar;
    70     audio/mpeg                            mp3;
    71     audio/ogg                             ogg;
    72     audio/x-m4a                           m4a;
    73     audio/x-realaudio                     ra;
    74 
    75     video/3gpp                            3gpp 3gp;
    76     video/mp4                             mp4;
    77     video/mpeg                            mpeg mpg;
    78     video/quicktime                       mov;
    79     video/webm                            webm;
    80     video/x-flv                           flv;
    81     video/x-m4v                           m4v;
    82     video/x-mng                           mng;
    83     video/x-ms-asf                        asx asf;
    84     video/x-ms-wmv                        wmv;
    85     video/x-msvideo                       avi;
    86 }
    87 }}}
     3https://github.com/h5bp/server-configs/blob/master/nginx/mime.types