Are you using Azure Websites, Azure Webrole or Azure Virtual Machine? Are you developing using just plain HTML, or ASP.NET or PHP or Node?
Asuming you are on the Websites, you have to change a file named web.config
which is located in the site folder of your web site.
Here is an example of a very simple web.config which registers WOFF files for serving by Azure Websites:
<configuration>
<system.webServer>
<staticContent>
<mimeMap fileExtension="woff" mimeType="application/font-woff" />
</staticContent>
</system.webServer>
</configuration>
You may also want to add a mimeMap
for all the web-font extensions you use. But be careful to select to correct mime-type, because it may no work. For instance most of the users add application/x-font-woff
and it may not work for them, because the RFC, which now is final states it should be application/font-woff
.