forked from Fediversity/Fediversity
14 lines
405 B
Plaintext
14 lines
405 B
Plaintext
|
# 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;
|