跨域资源共享漏洞
<p><img src="http://60.191.64.5:16100/server/index.php?s=/api/attachment/visitFile/sign/abfe29bc0bb6d181029fcda7290ffd42" alt="" /></p>
<h1>解决方案:</h1>
<p>在nginx的代理项目的location中添加以下参数</p>
<h4>跨域资源共享漏洞</h4>
<p>add_header Access-Control-Allow-Origin *;
add_header Access-Control-Allow-Headers "X-Requested-With";
add_header Access-Control-Allow-Methods "GET, POST, OPTIONS";</p>