This repository has been archived on 2025-04-14. You can view files and clone it, but cannot push or open issues or pull requests.
matrix-synapse-debian/nginx/workers/conn_optimizations.conf
Kiara Grouwstra 0124ae08e2
init
2025-04-14 11:19:49 +02:00

13 lines
405 B
Text

# These settings optimize the connection handling. Store this file under /etc/nginx/conf.d, because
# it should be loaded by default.
client_body_buffer_size 32m;
client_header_buffer_size 32k;
client_max_body_size 1g;
http2_max_concurrent_streams 128;
keepalive_timeout 65;
keepalive_requests 100;
large_client_header_buffers 4 16k;
server_names_hash_bucket_size 128;
tcp_nodelay on;
server_tokens off;