[nginx] MIME: changed type for woff to font/woff (ticket #1243).

Valentin Bartenev vbart at nginx.com
Fri Jun 15 15:24:37 UTC 2018


details:   http://hg.nginx.org/nginx/rev/bf1a7b363598
branches:  
changeset: 7302:bf1a7b363598
user:      Valentin Bartenev <vbart at nginx.com>
date:      Fri Jun 15 17:29:55 2018 +0300
description:
MIME: changed type for woff to font/woff (ticket #1243).

According to RFC 8081 the previously used application/font-woff
type is deprecated.

diffstat:

 conf/mime.types |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r f2396ecf608b -r bf1a7b363598 conf/mime.types
--- a/conf/mime.types	Fri Jun 15 11:46:14 2018 +0300
+++ b/conf/mime.types	Fri Jun 15 17:29:55 2018 +0300
@@ -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;


More information about the nginx-devel mailing list