Skip to content

Commit

Permalink
use small fixed TCP buffer sizes for non-TLS HTTP
Browse files Browse the repository at this point in the history
  • Loading branch information
thestinger committed Apr 25, 2024
1 parent 2b87b7d commit fc17f9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,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 / {
Expand Down

0 comments on commit fc17f9c

Please sign in to comment.