cdn 跨域
点击 475 创建时间 2016-04-16 15:03:41
<p>在cdn中要添加http头例如:</p>
<p>access-control-allow-origin * 指定允许的跨域请求的来源</p>
<p>我在nginx中添加,没效果,因为在cdn中没有添加http头。</p>
<p>location ~ .(eot|otf|ttf|woff)$ {<br /> add_header Access-Control-Allow-Origin ;<br /> }</p>
上一篇: Failure to find org.restlet:org.restlet:jar:2.2.1
下一篇: bootstrap overflow-y:hidden造成下拉菜单被隐藏