admin管理员组文章数量:1278910
I'm adding in an iframe
onto a page and when it makes a CORS request to another static file on my server, it always responds with a 405
response. I've tried editing my sites-enabled\domain
file to resolve this but I can not actually change the response the client receives. I've gone so far as to try and return a 404
return when attempting to access the location of the static file that is the src
component of the iframe
tag. Following the advice at , I tried adding in the appropriate headers with the add_header
directive per the appropriate request method, but the response header did not change from the server.
The relevant section of my sites-enabled
is the last server
section, but I added the whole thing just in case theres other issues.
本文标签: nginxHandle HTTP Response For iframe405 on OPTIONSStack Overflow
版权声明:本文标题:nginx - Handle HTTP Response For iframe - 405 on OPTIONS - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741218962a2360593.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论