A couple of new tunable timeouts.
This commit is contained in:
parent
442f809f83
commit
3ff421cee3
|
@ -42,6 +42,8 @@ nginx_multi_accept: 'off'
|
|||
nginx_worker_rlimit_nofile: 2048
|
||||
nginx_server_tokens: 'off'
|
||||
|
||||
nginx_keepalive_timeout: 75s
|
||||
nginx_send_timeout: 60s
|
||||
nginx_default_max_buffers_size: 16
|
||||
nginx_client_header_buffer_size: '{{ nginx_default_max_buffers_size }}k'
|
||||
nginx_client_body_buffer_size: '{{ nginx_default_max_buffers_size }}k'
|
||||
|
|
|
@ -30,7 +30,8 @@ http {
|
|||
sendfile on;
|
||||
tcp_nopush on;
|
||||
tcp_nodelay on;
|
||||
keepalive_timeout 65;
|
||||
keepalive_timeout {{ nginx_keepalive_timeout }};
|
||||
send_timeout {{ nginx_send_timeout }};
|
||||
types_hash_max_size 2048;
|
||||
server_tokens {{ nginx_server_tokens }};
|
||||
# server_names_hash_bucket_size 64;
|
||||
|
|
Loading…
Reference in New Issue