原因:head里面的某个参数的名称存下划线分割,nginx默认request的header的那么中包含’_’时,会自动忽略掉。

解决:

从根本解除nginx的限制 在nginx里的nginx.conf配置文件中的http部分中添加如下配置:

underscores_in_headers on; (默认 underscores_in_headers 为off)

相关文章:

  • 2021-08-27
  • 2021-10-18
  • 2020-07-13
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-12
猜你喜欢
  • 2022-12-23
  • 2022-01-28
  • 2021-09-23
  • 2022-12-23
  • 2021-06-18
  • 2021-06-08
相关资源
相似解决方案