Commit Graph

8 Commits

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