Home
Sign Up
Sign In
V2EX
›
问与答
nginx 反代时可否删除 response header 里的 Content-Security-Policy 项?
airbasic
·
Dec 22, 2014
· 5419 views
This topic created in 4350 days ago, the information mentioned may be changed or developed.
反代时返回的 response header 里有CSP,限制了很多域名才能加载js,如何在这个过程中用nginx删除这个header?可以实现吗?
header
Nginx
response
1 replies
airbasic
OP
Dec 22, 2014
1
GOOGLE了半天已经找到解决方案,也在这记录下,方便一样不知道怎么办的人啦~
http://wiki.nginx.org/HttpHeadersMoreModule
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
2424 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 24ms ·
UTC 04:54
·
PVG 12:54
·
LAX 20:54
·
JFK 23:54
♥ Do have faith in what you're doing.
❯