nginx已配置header傳遞,但是轉發下還是丟失頭信息(header)

查找原因後得知是nginx在轉發請求時會默認忽略帶有"_"下劃線的頭信息 配置underscores_in_headers on;即可;underscores_in_headers默認是off; 參考nginx官網說明:http://nginx.org/en/docs/http/ngx_http_core_module.html#underscores_in_headers Syntax:    
相關文章
相關標籤/搜索