nginx在響應request header時候帶下劃線的須要開啓的選項

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

能夠參考http://nginx.org/en/docs/http/ngx_http_core_module.html#underscores_in_headers
相關文章
相關標籤/搜索