响应头不符合nginx规范,导致使用nginx报502

z499738316】 在 https://github.com/istoreos/istoreos/issues/2551 发布:
高版本的nginx对http协议有严格的校验,现在使用nginx去代理istoreos的时候,部分页面报502,问了大模型,说是Content-Length与Transfer-Encoding响应头只能有一个,但是现在是两个都有,导致校验报错,nginx返回了502