用 ngx_http_proxy_module 做反代的时候, Headers 里有源站点的东西,想直接删除或替换掉,不知道怎么弄。比如
access-control-allow-origin
content-security-policy
Set-Cookie
1
Andy1999 2016-02-15 21:48:01 +08:00
proxy_ignore_headers access-control-allow-origin content-security-policy Set-Cookie
|