【发布时间】:2017-09-13 20:00:22
【问题描述】:
在 WordPress 页面中有一个 iframe 标签,其 src (N page) 不是同一个来源。
我检查了N页的http头包含
X-Frame-Options: ALLOW-FROM *.mydomain.com;Content-Security-Policy: frame-ancestors *.mydomain.comX-XSS-protection: 0
它们完全被 proxy_hide_header 覆盖,Set-Cookie标头也被 proxy_hide_header 隐藏。但它仍然无法在 IE 11 中运行,但在 chrome 或 safari 中运行。
我不知道为什么..
【问题讨论】:
-
ALLOW-FROM 必须是 URI,而不是通配符
-
@AlexeyTen 谢谢!!
标签: nginx iframe content-security-policy x-frame-options