在nginx.conf 里加入这一段得到解决
1
2
3
4
5
|
fastcgi_buffer_size 512k; fastcgi_buffers 6 512k; fastcgi_busy_buffers_size 512k; fastcgi_temp_file_write_size 512k; fastcgi_intercept_errors on; |
这上面的参数根据自己网站页面大小,进行调整
转载请注明:苏demo的别样人生 » nginx 出现an upstream response is buffered to a temporary file