nginx报错 "readv() failed (104: Connection reset by peer)"
本文章来给大家介绍在使用nginx报错 "readv() failed (104: Connection reset by peer)" 错误的解决办法。
错误提示
[error] readv() failed (104: Connection reset by peer) while reading upstream, client: x.x.x.x, server: host.tld, request: "POST /script.php, ...
解决办法
php-fpm.conf中将这个参数的值设定为600:
request_terminate_timeout = 600
赞 (0)