diff options
| author | Daniel Micay <daniel.micay@grapheneos.org> | 2024-04-25 11:29:51 -0400 |
|---|---|---|
| committer | Daniel Micay <daniel.micay@grapheneos.org> | 2024-04-25 11:29:51 -0400 |
| commit | 15cdc9c6a7c34f9f5ff7d30023eebe61d32fd9d1 (patch) | |
| tree | 8a5f3507e0447e4c280e0d11acbfb3a9dc18b485 /nginx | |
| parent | 983211a7e30fee0542d224cd46f6abbb90d985fa (diff) | |
use small fixed TCP buffer sizes for non-TLS HTTP
Diffstat (limited to 'nginx')
| -rw-r--r-- | nginx/nginx.conf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 84aff11e..b9bd62dc 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -102,8 +102,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 / { |
