今天我将Font Awesome软件包更新到4.3.0并注意到添加了woff2字体.该文件在CSS中链接,因此我需要配置nginx以正确地提供woff2文件.
目前我在nginx配置字体中有这个块:
location ~* \.(otf|eot|woff|ttf)$ {
types {font/opentype otf;}
types {application/vnd.ms-fontobject eot;}
types {font/truetype ttf;}
types {application/font-woff woff;}
}
Run Code Online (Sandbox Code Playgroud)
什么是适用于woff2字体的mime类型?