From 96ddacc69db6a169065ce9bf96401131a9b12838 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Thu, 25 Apr 2024 11:32:49 -0400 Subject: [PATCH] use small fixed TCP buffer sizes for non-TLS HTTP --- nginx/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index b9af069..6614531 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -95,8 +95,8 @@ http { } server { - listen 80 default_server backlog=4096; - listen [::]:80 default_server backlog=4096; + listen 80 default_server backlog=4096 rcvbuf=2048 sndbuf=2048; + listen [::]:80 default_server backlog=4096 rcvbuf=2048 sndbuf=2048; # https://trac.nginx.org/nginx/ticket/2012 location / {