Commit Graph

13 Commits

Author SHA1 Message Date
Steffen Weber 526ab0ff07 Add MIME-Types for .xsl files
The correct MIME-Type for XSL files is "application/xslt+xml" according to http://www.w3.org/TR/2007/REC-xslt20-20070123/#media-type-registration.
2015-01-14 11:17:25 +01:00
Steffen Weber 8ec8a82113 Move SVG media type into the "Images" group
SVG is primarily an image format. Its usage as a font format is a
legacy issue for supporting iOS 3 and iOS 4. In Chrome 38, support
for SVG fonts has been removed (http://caniuse.com/#feat=svg-fonts).
They have never been supported in Firefox or IE.

Close h5bp/server-configs-nginx#74
2014-10-27 17:46:39 +02:00
Steffen Weber e9dc7f6c78 MIME-Types: support for .opus files
http://en.wikipedia.org/wiki/Opus_(audio_format)
2014-10-27 15:31:54 +01:00
Przemek Matylla f9b58cd883 Add configs for WOFF 2.0 font files (`.woff2`)
Ref: http://www.w3.org/TR/WOFF2/
     h5bp/server-configs-apache#32

Close: h5bp/server-configs-nginx#54
2014-09-03 15:31:25 +03:00
Oskar S. Jakieła 508738ea7f Add configs for cursor images (`.cur`)
Apply all the configs used for `.ico` files to `.cur` files as the two
image formats are almost identical.

The MIME type for the `.cur` file doesn't matter as browsers seem to
sniff the content. However, `image/x-icon` is specified because it's
the one usually used for `.ico` file and because it's shorther then the
other frequentlly used one (`image/vnd.microsoft.icon`), making the
header size smaller.

See also:
* http://en.wikipedia.org/wiki/ICO_%28file_format%29
* http://msdn.microsoft.com/en-us/library/windows/desktop/ms648007%28v=vs.85%29.aspx

Close: #5.
2013-10-04 13:28:07 +03:00
Andrej Čremožnik 8ae468a6d0 Add MIME type for `.torrent` files
Serve `.torrent` files with the `application/x-bittorrent` MIME type
instead of the default `application/octet-stream`. This helps improve
the user experience in some browsers (e.g.: in Firefox, the user is
offered the option to open the file with a torrent application, if
it has one installed).

Close h5bp/server-configs-nginx#4
2013-08-16 20:04:45 +03:00
Cătălin Mariș dca86c3dbf Don't map the .jsonp extension to the JS MIME type
Remove `.jsonp` as there isn't any convention around the JSONP MIME-type
or the `.jsonp` extension. Also, it seems that, `application/javascript`
is arguably the wrong type to use for JSONP.

Ref: broofa/node-mime#64
2013-07-29 02:12:17 +03:00
Cătălin Mariș c367e809db Move nginx server configs to their own repository 2013-07-29 01:55:11 +03:00
Paul Irish f4bc3a9dc6 associate mime.types file with nginx 2011-01-31 17:06:10 -08:00
Paul Irish ec01439e22 nginx: js wasnt being gzipped. thanks poswald! fixes h5bp/server-configs#5 2011-01-31 17:03:59 -08:00
Paul Irish 3b7414f89a Use the .appcache extension instead of .manifest, as per http://html5.org/r/5812 - thx mathias 2011-01-31 16:55:29 -08:00
Paul Irish c174308f42 adding minor note about who owns the mime.types file. 2010-12-15 08:21:25 -08:00
Paul Irish 7bf736cbd3 whats up, sweetass configurations? boom boom. 2010-12-14 21:12:17 -08:00