sendfile_max_chunk

sendfile_max_chunk size;
  • size值如果大于0,Nginx进程的每个worker process每次调用sendfile()传输的数据量最大不能超过这个值;

  • size值如果设置为0,则无限制。默认值为0。

此指令可以在http块、server块或location块中配置

Last updated