Update NGINX worker_connections, worker_rlimit_nofile & keepalive_timeout.

This commit is contained in:
Viyurz 2024-02-21 09:21:47 +01:00
parent 7baeedaebb
commit 853d1b20bb

View file

@ -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;