Nginx无法加载.woff .eot .svg .ttf等解决办法 在Nginx的配置文件,加上以下代码即可修复该问题 location ~ .(eot|otf|ttf|woff|svg)$ { add_header Access-Control-Allow-Origin *; }