Quick reference for adding .woff and .woff2 fonts to IIS 7.5 as MIME types.
You can add the MIME type as a global, or for the specific website. For either, you can add it through IIS Manager or the respective XML config files (web.config, etc.).
MIME Type Text:
.woff = application/font-woff
.woff2 = application/font-woff2
This example shows through IIS 7.5 on Windows 2008 R2 for global usage, not for just a single site.
Here’s an example of what your WEB.CONFIG file would look like.
<system.webServer>
<staticContent>
<mimeMap fileExtension=”.woff” mimeType=”application/font-woff” />
<mimeMap fileExtension=”.woff2″ mimeType=”application/font-woff2″ />
</staticContent>
</system.webServer>