Commit Graph

9 Commits

Author SHA1 Message Date
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