use small fixed TCP buffer sizes for non-TLS HTTP

This commit is contained in:
Daniel Micay 2024-04-25 11:32:49 -04:00
parent 4298cf4b14
commit 96ddacc69d

View File

@ -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 / {