Azure and Project Nami

Some notes for later.

App Service Editor is incredible.

Uploading webfonts (woff/woff2) requires that wp-config.php has

define(‘ALLOW_UNFILTERED_UPLOADS’, true);
set for the short time.

Serving woff/woff2 fonts requires that MIME types are put in place.

Add this to web.config under system.webserver. https://blogs.iis.net/richma/adding-mime-types-to-your-windows-azure-web-site

<staticContent>
<mimeMap fileExtension=”.woff” mimeType=”application/x-font-woff” />
<mimeMap fileExtension=”.woff2″ mimeType=”application/x-font-woff2″ />
</staticContent>

Leave a Reply

Your email address will not be published. Required fields are marked *