nginx在响应request header时候带下划线的需要开启的选项
时间:2019-06-18 21:25:20
收藏:0
阅读:146
比如cookie中可能会有一些带下划线的内容,这种情况,就得在前端的nginx里开启这个选项,
underscores_in_headers on;
写在http或者server区域里都可以。
underscores_in_headers on;
写在http或者server区域里都可以。
可以参考http://nginx.org/en/docs/http/ngx_http_core_module.html#underscores_in_headers
评论(0)