From 3ede2df8bcf0d4763fc907efe470c79ef3e8418f Mon Sep 17 00:00:00 2001 From: Roland Warmerdam Date: Thu, 14 Jun 2012 23:05:47 +1200 Subject: [PATCH] Use valid font mime types in the nginx config. --- nginx/mime.types | 4 ++-- nginx/nginx.conf | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nginx/mime.types b/nginx/mime.types index 4d3228f..79f1c3c 100644 --- a/nginx/mime.types +++ b/nginx/mime.types @@ -88,6 +88,6 @@ types { # Webfonts application/vnd.ms-fontobject eot; application/x-font-ttf ttf ttc; - font/opentype otf; + application/x-font-opentype otf; application/x-font-woff woff; -} \ No newline at end of file +} diff --git a/nginx/nginx.conf b/nginx/nginx.conf index b84f621..dabc12b 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -69,8 +69,8 @@ http { application/json application/xml application/rss+xml - font/truetype - font/opentype + application/x-font-ttf + application/x-font-opentype application/vnd.ms-fontobject image/svg+xml;