Opened 6 years ago
Closed 5 years ago
Last modified 5 years ago
#1243 closed enhancement (fixed)
Add primary media type for font
|Reported by:||Owned by:|
|Keywords:||mime mime.types font||Cc:|
The IANA has deprecated the use of the
application MIME type for fonts in favour of a primary
Source: https://www.iana.org/assignments/media-types/media-types.xhtml#font - (In page search for "deprecated" to find the old entries).
To become compliant, the
mime.types file would have the line:
font/woff woff; font/woff2 woff2;
Which additionally adds WOFF2 support as per the IANA listing. I note that Google Fonts already serves fonts with this new MIME type.
Change History (6)
comment:1 by , 6 years ago
comment:2 by , 5 years ago
See also #1575.
comment:3 by , 5 years ago
comment:4 by , 5 years ago
comment:5 by , 5 years ago
|Status:||new → closed|
These changes will be a part of nginx 1.15.1.
comment:6 by , 5 years ago
See also #1685.
Note: See TracTickets for help on using tickets.
IMHO, I suggest to add new mime-types and save old one for compatibility