本文主要是介绍nginx做负载均衡,转发给后端apache+php,下载excel行数超过5万报错,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
1.

修改反向代理nginx的server端配置文件增加如下配置
proxy_connect_timeout 3000s;
proxy_send_timeout 3000s;
proxy_read_timeout 3000s;

max_execution_time = 100; 把100改大一些。然后重启服务。问题解决。
这篇关于nginx做负载均衡,转发给后端apache+php,下载excel行数超过5万报错的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!