Update NGINX worker_connections, worker_rlimit_nofile & keepalive_timeout.
This commit is contained in:
parent
7baeedaebb
commit
853d1b20bb
1 changed files with 3 additions and 2 deletions
|
@ -1,9 +1,10 @@
|
|||
user www-data;
|
||||
worker_processes auto;
|
||||
worker_rlimit_nofile 1024;
|
||||
include /etc/nginx/modules-enabled/*.conf;
|
||||
|
||||
events {
|
||||
worker_connections 768;
|
||||
worker_connections 512;
|
||||
multi_accept off;
|
||||
}
|
||||
|
||||
|
@ -20,7 +21,7 @@ http {
|
|||
gzip off;
|
||||
types_hash_max_size 2048;
|
||||
server_tokens off;
|
||||
keepalive_timeout 65;
|
||||
keepalive_timeout 30;
|
||||
|
||||
# server_names_hash_bucket_size 64;
|
||||
# server_name_in_redirect off;
|
||||
|
|
Loading…
Reference in a new issue