nginx配置报错请求路径太大

2020-12-29 12:15发布

问题:

4038#4038: *3 upstream sent too big header while reading response header from upstream, client: ip, server: ****, request: "POST接口名 HTTP/1.1", upstream: "http://xxx/sso/doAuth", host: "

在线等有大佬知道吗?

回答1:

增大nginx配置文件中的 buffer相关参数值,例如:
proxy_buffer_size 128k;
proxy_buffers 32 32k;
proxy_busy_buffers_size 128k;



回答2:

修复Nginx报错:upstream sent too big header while reading response header from upstream



标签: nginx