token丟失?在header傳的參數null?  nginx 的坑?

token丟失?在header傳的參數null?     nginx 的坑???!!!!! 在本地可以獲取前端header傳的參數,但是部署到服務器獲取的就是null或者各種情況,如果你的服務器用了nginx做代理的話,下面應該可以幫到你 原因:  nginx對header name的字符做了限制,默認 underscores_in_headers 爲off,表示如果header name中包含下
相關文章
相關標籤/搜索