通过 nginx 反向代理一个网站,发现 add_header 在源站返回 404 时是不会有作用的。为什么呢?
|
1
手册写明了 <400 的请求才有效
试试 headers_more 模块 |
|
1005gelFeb 18, 2014
3
|
|
cevincheungFeb 19, 2014
4
@1005gel 应该是cookie的作用域问题吧
|