nginx在响应request header时候带下划线的需要开启的选项

时间:2019-06-18 21:25:20   收藏:0   阅读:146
比如cookie中可能会有一些带下划线的内容,这种情况,就得在前端的nginx里开启这个选项,
underscores_in_headers on;
写在http或者server区域里都可以。

可以参考http://nginx.org/en/docs/http/ngx_http_core_module.html#underscores_in_headers
评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!