Nginx无法加载.woff .eot .svg .ttf等解决办法

在Nginx的配置文件,加上以下代码即可修复该问题

location ~ .(eot|otf|ttf|woff|svg)$ { add_header Access-Control-Allow-Origin *; }
原文地址:https://www.cnblogs.com/qichao123/p/9667963.html