1.错误日志:warn:an upstream response is buffered to a temporary file
解决办法:增加fastcgi_buffers 8 4K; fastcgi_buffer_size 4K;
2. a client request body is buffered to a temporary file
解决办法:增加client_max_body_size 2050m; client_body_buffer_size 1024k;
Nginx's buffer mechanism:
For the FastCGI Server Response from, Nginx be buffered into memory and then sequentially transmitted to the client browser. Controlled by the size of the buffer and fastcgi_buffers fastcgi_buffer_size two values.