nginx fpm 常见错误对比分析
作者:互联网
fastcgi_read_timeout 8; // nginx.conf
request_terminate_timeout=0 // php-fpm.conf
sleep(10);
浏览器 8 秒后返回 504 Gateway Time-out
fastcgi_read_timeout 8; // nginx.conf
request_terminate_timeout=5 // php-fpm.conf
sleep(10);
浏览器 5 秒后返回 502 Bad Gateway
fastcgi_read_timeout 8; // nginx.conf
request_terminate_timeout=5 // php-fpm.conf
set_time_limit(1);
while(true){}
浏览器返回 500 Internal Server Error
标签:conf,fpm,terminate,nginx,timeout,对比,fastcgi 来源: https://www.cnblogs.com/caibaotimes/p/14766139.html