4
.woff2字体的正确MIME类型
今天,我将Font Awesome软件包更新为4.3.0,并注意到添加了woff2字体。该文件在CSS中链接,因此我需要配置nginx才能正确提供woff2文件。 目前,我在nginx config中有此字体块: location ~* \.(otf|eot|woff|ttf)$ { types {font/opentype otf;} types {application/vnd.ms-fontobject eot;} types {font/truetype ttf;} types {application/font-woff woff;} } woff2字体正确的mime类型是什么?
279
fonts
mime-types
woff
woff2