好比cookie中可能會有一些帶下劃線的內容,這種狀況,就得在前端的nginx裏開啓這個選項,underscores_in_headers on;寫在http或者server區域裏均可以。html
能夠參考http://nginx.org/en/docs/http/ngx_http_core_module.html#underscores_in_headers