参考

Description

The content type for .woff files is specified as
“application/font-woff” in “/etc/nginx/mime.types”. This is deprecated
as stated in ​RFC 8081:

“Deprecated Alias: The existing registration “application/font-woff”
is deprecated in favor of “font/woff”.”

Thus, I replace in my configs…

application/font-woff woff;

with…

font/woff woff;
font/woff2 woff2;

IMHO, this should be the default.

“font/woff“ and “font/woff2“ in file “mime.types“相关推荐

  1. 成功解决OSError: cannot open resource self.font = core.getfont(font, size, index, encoding, layout_engin

    成功解决OSError: cannot open resource self.font = core.getfont(font, size, index, encoding, layout_engin ...

  2. 运行BOA报错 Could not open mime.types file, /etc/mime.types, for reading

    我的操作系统是 CentOS7 /etc 目录下没有mime.types 这个文件 这里提供我的 mime.types 文件内容 # This is a comment. I love comment ...

  3. mime.types

    nginx.conf http中的mime.types 定义用户访问的文件类型 types { text/html html htm shtml; text/css css; text/xml xml ...

  4. 文件头格式标准魔数-magic number和mime.types

    2021年11月8日10:13:39 1,magic number https://www.garykessler.net/library/file_sigs.html 这个文件头部,各种文件的默认数 ...

  5. 启动nginx时,报错:open() “/etc/nginx/mime.types“ failed

    配置文件:/etc/nginx/nginx.conf中有include mime.types字段,启动时报错:open() "/etc/nginx/mime.types" fail ...

  6. MIME Types MIME 类型

    MIME Types MIME 类型 MIME (Multipurpose Internet Mail Extensions) is an Internet standard for describe ...

  7. 来自Apache(mime.types存档)的mime大全

    来自Apache(mime.types存档)的mime大全 application/andrew-inset ez application/applixware aw application/atom ...

  8. MIME与mime.types

    当你刚安装完Nginx,打开默认的配置文件nginx.conf时,你会看到http上下文中有这一行配置: include mime.types; 有的小伙伴就有疑问了:mime.types是什么文件? ...

  9. Nginx(十八)mime.types的作用

    一   MIME简介  了解 ++++++++++++'MIME简介'++++++++++++1)全称'Multipurpose Internet Mail Extension(多用途因特网邮件扩展) ...

最新文章

  1. jstatd - Virtual Machine jstat Daemon
  2. esnext:最后一个参数后面也允许加逗号了
  3. 应用篇——SSL/TLS
  4. vs2010 学习Silverlight学习笔记(15):数据与通信之JSON
  5. 一个textView中的文字设置成两种颜色
  6. (转)Asp.net 中 Get和Post 的用法
  7. POJ 2886 Who Gets the Most Candies?
  8. Vue:不使用webpack情况下将Cesium引入到Vue项目中
  9. EvilAP_Defender:可以警示和攻击 WIFI 热点陷阱的工具
  10. 最详细的JavaScript教程(高级篇),深入学习JavaScript
  11. 御剑扫描后台/Burp爆破--Bugku13.网页被黑
  12. sklearn机器学习之降维(人脸图片数据集)
  13. Axis2+Rampart(WSS4J)实现UsernameToken认证方式的WS-Security(基于SOAP的Web安全调用机制)
  14. 什么是单臂路由?单臂路由的优缺点?如何配置单臂路由?
  15. [计算机数值分析]牛顿插值公式
  16. python读取163邮件内容_python模拟登陆163邮箱并下载邮件内容(第三版代码片段)
  17. 浅谈手游的数据分析与精细化运营的重要性
  18. 厉害了,Pandas表格还能五彩斑斓的展示数据,究竟是怎么做到的呢?
  19. 一种Ansys安装 “Ans.SceneGraphChart.SceneGraphAddin. The software will exit.“报错解决方案
  20. 【读论文】基于深度学习的铁路道岔转辙机故障诊断(2INTRO)

热门文章

  1. python 如何换行
  2. Linux中kil命令和pkill命令的区别
  3. JUDE/Professional中文版
  4. Jaeger 详细配置
  5. 宝宝红屁股都怪纸尿裤? 先看看你有没有做好这2点
  6. 全网最全RocketMQ 用法及原理总结
  7. uniapp 动态获取手机屏幕高度
  8. 爱老婆,除了性,还有更价值的东东
  9. 身份认证(暴力破解基础)
  10. 社交电商平台实际包含的意义是一种工具,而不是固定的模式。