springcloud gateway nginx header 丢失

springcloud gateway nginx header 丢失

1、默认的情况下nginx引用header变量时不能使用带下划线的变量。要解决这样的问题只能单独配置underscores_in_headers on;

2、默认的情况下会忽略掉带下划线的变量。要解决这个需要配置ignore_invalid_headers off。

不使用带下划线的header

或者修改nginx 配置

上一篇:hbuild uniapp mock 模拟数据


下一篇:招聘网站搜刮极客信息,800万GitHub资料被泄