summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2021-04-17 01:47:33 -0400
committerDaniel Micay <danielmicay@gmail.com>2021-04-17 01:47:33 -0400
commit6d4a724f80eed6acd1ddd626907594fe14dcb5d9 (patch)
tree69448262d346ca77952be17fffbbd8e634f654ee
parentc812d96b5174a3a2cdd660ed059dfe26da5ac280 (diff)
nginx: limit sendfile chunk size
-rw-r--r--nginx/nginx.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf
index ed809704..ca4a4aa1 100644
--- a/nginx/nginx.conf
+++ b/nginx/nginx.conf
@@ -16,6 +16,7 @@ http {
charset utf-8;
sendfile on;
+ sendfile_max_chunk 512k;
tcp_nopush on;
keepalive_requests 1000;
keepalive_timeout 65;