diff --git a/roles/nginx/files/nginx.conf b/roles/nginx/files/nginx.conf index 63ccdfe..6a29ffe 100644 --- a/roles/nginx/files/nginx.conf +++ b/roles/nginx/files/nginx.conf @@ -29,7 +29,10 @@ http { # this option should be disabled as ZFS's ARC caches # frequently used files in RAM by default. sendfile on; - #tcp_nopush on; + + # Tell Nginx not to send out partial frames; this increases throughput + # since TCP frames are filled up before being sent out. (adds TCP_CORK) + tcp_nopush on; keepalive_timeout 65s;