Hi webfonts are often distributed in various formats, so each platform can pick their preferred format[1].
Currently mime-types for woff2, ttf and oft fonts are missing[2]. Further the mime-type for html5 caching manifest is missing to[3]. [1]: https://github.com/choffmeister/roboto-fontface-bower/tree/develop/fonts [2]: http://www.iana.org/assignments/media-types/application/font-sfnt [3]: http://www.iana.org/assignments/media-types/text/cache-manifest Please find attached my patch for the default mime.types definitions. cu Alex
diff --git c/conf/mime.types w/conf/mime.types index 89be9a4..a928b71 100644 --- c/conf/mime.types +++ w/conf/mime.types @@ -14,6 +14,7 @@ types { text/vnd.sun.j2me.app-descriptor jad; text/vnd.wap.wml wml; text/x-component htc; + text/cache-manifest appcache manifest; image/png png; image/tiff tif tiff; @@ -25,6 +26,8 @@ types { image/webp webp; application/font-woff woff; + application/font-woff2 woff2; + application/font-sfnt ttf oft; application/java-archive jar war ear; application/json json; application/mac-binhex40 hqx;
_______________________________________________ nginx-devel mailing list nginx-devel@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-devel