知识库

标准化实施手册及常见错误


跨域资源共享漏洞

<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 &quot;X-Requested-With&quot;; add_header Access-Control-Allow-Methods &quot;GET, POST, OPTIONS&quot;;</p>

页面列表

ITEM_HTML