]> git.kaiwu.me - nginx.git/commitdiff
MIME: changed type for woff to font/woff (ticket #1243).
authorValentin Bartenev <vbart@nginx.com>
Fri, 15 Jun 2018 14:29:55 +0000 (17:29 +0300)
committerValentin Bartenev <vbart@nginx.com>
Fri, 15 Jun 2018 14:29:55 +0000 (17:29 +0300)
According to RFC 8081 the previously used application/font-woff
type is deprecated.

conf/mime.types

index 8a2348ab04ab6ba462addfe13114eb4231af2e1a..bd81e2ae7d948c8afd55b81002cab3045d80da0e 100644 (file)
@@ -24,7 +24,8 @@ types {
     image/x-jng                                      jng;
     image/x-ms-bmp                                   bmp;
 
-    application/font-woff                            woff;
+    font/woff                                        woff;
+
     application/java-archive                         jar war ear;
     application/json                                 json;
     application/mac-binhex40                         hqx;