Skip to content

Commit

Permalink
use minimal 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 1b467f1 commit d474408
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 @@ -112,8 +112,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 d474408

Please sign in to comment.