1
+ types {
2
+
3
+ # Data interchange
4
+
5
+ application/atom+xml atom;
6
+ application/json json map topojson;
7
+ application/ld+json jsonld;
8
+ application/rss+xml rss;
9
+ application/vnd.geo+json geojson;
10
+ application/xml rdf xml;
11
+
12
+
13
+ # JavaScript
14
+
15
+ # Normalize to standard type.
16
+ # https://tools.ietf.org/html/rfc4329#section-7.2
17
+ application/javascript js;
18
+
19
+
20
+ # Manifest files
21
+
22
+ application/manifest+json webmanifest;
23
+ application/x-web-app-manifest+json webapp;
24
+ text/cache-manifest appcache;
25
+
26
+
27
+ # Media files
28
+
29
+ audio/midi mid midi kar;
30
+ audio/mp4 aac f4a f4b m4a;
31
+ audio/mpeg mp3;
32
+ audio/ogg oga ogg opus;
33
+ audio/x-realaudio ra;
34
+ audio/x-wav wav;
35
+ image/bmp bmp;
36
+ image/gif gif;
37
+ image/jpeg jpeg jpg;
38
+ image/png png;
39
+ image/svg+xml svg svgz;
40
+ image/tiff tif tiff;
41
+ image/vnd.wap.wbmp wbmp;
42
+ image/webp webp;
43
+ image/x-jng jng;
44
+ video/3gpp 3gp 3gpp;
45
+ video/mp4 f4p f4v m4v mp4;
46
+ video/mpeg mpeg mpg;
47
+ video/ogg ogv;
48
+ video/quicktime mov;
49
+ video/webm webm;
50
+ video/x-flv flv;
51
+ video/x-mng mng;
52
+ video/x-ms-asf asf asx;
53
+ video/x-ms-wmv wmv;
54
+ video/x-msvideo avi;
55
+
56
+ # Serving `.ico` image files with a different media type
57
+ # prevents Internet Explorer from displaying then as images:
58
+ # https://github.com/h5bp/html5-boilerplate/commit/37b5fec090d00f38de64b591bcddcb205aadf8ee
59
+
60
+ image/x-icon cur ico;
61
+
62
+
63
+ # Microsoft Office
64
+
65
+ application/msword doc;
66
+ application/vnd.ms-excel xls;
67
+ application/vnd.ms-powerpoint ppt;
68
+ application/vnd.openxmlformats-officedocument.wordprocessingml.document docx;
69
+ application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx;
70
+ application/vnd.openxmlformats-officedocument.presentationml.presentation pptx;
71
+
72
+
73
+ # Web fonts
74
+
75
+ application/font-woff woff;
76
+ application/font-woff2 woff2;
77
+ application/vnd.ms-fontobject eot;
78
+
79
+ # Browsers usually ignore the font media types and simply sniff
80
+ # the bytes to figure out the font type.
81
+ # https://mimesniff.spec.whatwg.org/#matching-a-font-type-pattern
82
+ #
83
+ # However, Blink and WebKit based browsers will show a warning
84
+ # in the console if the following font types are served with any
85
+ # other media types.
86
+
87
+ application/x-font-ttf ttc ttf;
88
+ font/opentype otf;
89
+
90
+
91
+ # Other
92
+
93
+ application/java-archive ear jar war;
94
+ application/mac-binhex40 hqx;
95
+ application/octet-stream bin deb dll dmg exe img iso msi msm msp safariextz;
96
+ application/pdf pdf;
97
+ application/postscript ai eps ps;
98
+ application/rtf rtf;
99
+ application/vnd.google-earth.kml+xml kml;
100
+ application/vnd.google-earth.kmz kmz;
101
+ application/vnd.wap.wmlc wmlc;
102
+ application/x-7z-compressed 7z;
103
+ application/x-bb-appworld bbaw;
104
+ application/x-bittorrent torrent;
105
+ application/x-chrome-extension crx;
106
+ application/x-cocoa cco;
107
+ application/x-java-archive-diff jardiff;
108
+ application/x-java-jnlp-file jnlp;
109
+ application/x-makeself run;
110
+ application/x-opera-extension oex;
111
+ application/x-perl pl pm;
112
+ application/x-pilot pdb prc;
113
+ application/x-rar-compressed rar;
114
+ application/x-redhat-package-manager rpm;
115
+ application/x-sea sea;
116
+ application/x-shockwave-flash swf;
117
+ application/x-stuffit sit;
118
+ application/x-tcl tcl tk;
119
+ application/x-x509-ca-cert crt der pem;
120
+ application/x-xpinstall xpi;
121
+ application/xhtml+xml xhtml;
122
+ application/xslt+xml xsl;
123
+ application/zip zip;
124
+ text/css css;
125
+ text/html htm html shtml;
126
+ text/mathml mml;
127
+ text/plain txt;
128
+ text/vcard vcard vcf;
129
+ text/vnd.rim.location.xloc xloc;
130
+ text/vnd.sun.j2me.app-descriptor jad;
131
+ text/vnd.wap.wml wml;
132
+ text/vtt vtt;
133
+ text/x-component htc;
134
+
135
+ }
0 commit comments