使用PHP自带的curl报错:
Nginx HTTP code:400
Nginx 错误日志:
2023/07/21 17:16:39 [error] 30785#30785: *3935132 readv() failed (104: Connection reset by peer) while reading upstream, client: 192.168.4.18, server: loginapi.balmunc.com, request: "POST /common/save HTTP/1.1", upstream: "http://192.168.4.180:1093/common/save", host: "loginapi.balmunc.com"
解决思路:
查看是否存在循环设置header,导致header变大后nginx报错