nginx 出现a client request body is buffered to a temporary file 错误
如果nginx的错误日志里有很多a client request body is buffered to a temporary file
或者是AN UPSTREAM RESPONSE IS BUFFERED TO A TEMPORARY FILE,一般是由于客户端的请求数据大于了nginx
的缓冲大小,可以设置:
client_max_body_size 20m;
client_body_buffer_size 1024k;