ngixn error日誌中顯示報錯:nginx error nginx:recv() failed (104: Connection reset by peer) while reading response header from upstream,
經排查是php-fpm.conf配置文件中的request_terminate_timeout(單個請求超時中止時間)設置太小,修改此參數後恢復正常
request_terminate_timeout=60
ngixn error日誌中顯示報錯:nginx error nginx:recv() failed (104: Connection reset by peer) while reading response header from upstream,
經排查是php-fpm.conf配置文件中的request_terminate_timeout(單個請求超時中止時間)設置太小,修改此參數後恢復正常
request_terminate_timeout=60
$fileContent = trim($fileContent); $fileContent=$queueList->characet($fileContent);