Edit HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\InetInfo\Paramenters\MimeMap

From the Edit menu, Add Value of type REG_SZ

audio/midi,mid,,  with a blank data value and
audio/midi,midi,, with a blank data value.

You must shutdown and restart the server for these changes to take effect.