好比cookie中可能会有一些带下划线的内容,这种状况,就得在前端的nginx里开启这个选项,underscores_in_headers on;写在http或者server区域里均可以。html
能够参考http://nginx.org/en/docs/http/ngx_http_core_module.html#underscores_in_headers