nginx 服务器配置解决字体font跨域

location ~* .(eot|ttf|woff|svg|otf)$

 {
   add_header Access-Control-Allow-Origin *; 
   }

相关推荐

nginx pagespeed config

# Enable pagespeed module by putting the following in http context pagespeed on; pagespeed Domain example. …

暂无评论

微信扫一扫,分享到朋友圈

nginx 服务器配置解决字体font跨域