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
This commit is contained in:
Andrej Čremožnik 2013-08-10 17:10:50 +02:00 committed by Cătălin Mariș
parent dca86c3dbf
commit 8ae468a6d0
1 changed files with 1 additions and 0 deletions

View File

@ -85,6 +85,7 @@ types {
application/x-stuffit sit;
application/x-tcl tcl tk;
application/x-x509-ca-cert der pem crt;
application/x-bittorrent torrent;
application/zip zip;
application/octet-stream bin exe dll;