请求时间长,出现502
vim /usr/local/php/etc/php-fpm.conf
request_terminate_timeout
这个值是max_execution_time,就是fast-cgi的执行脚本时间。
0s为关闭,就是无限执行下去。
修改后重启lnmp。
lnmp restart
请求时间长,出现502
vim /usr/local/php/etc/php-fpm.conf
request_terminate_timeout
这个值是max_execution_time,就是fast-cgi的执行脚本时间。
0s为关闭,就是无限执行下去。
修改后重启lnmp。
lnmp restart
nginx使用小结
Nginx 502 Bad Gateway错误问题收集
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M