Browse Source

update nginx conf

master
VirtuBox 1 year ago
parent
commit
b543bf8a45
3 changed files with 9 additions and 5 deletions
  1. +4
    -2
      etc/nginx/nginx-intermediate.conf
  2. +4
    -1
      etc/nginx/nginx-tlsv12.conf
  3. +1
    -2
      etc/nginx/nginx.conf

+ 4
- 2
etc/nginx/nginx-intermediate.conf View File

@@ -4,12 +4,14 @@ worker_cpu_affinity auto;
worker_rlimit_nofile 100000;
pid /run/nginx.pid;

pcre_jit on;

events
{
worker_connections 16384;
multi_accept on;
worker_connections 50000;
accept_mutex on;
use epoll;
}

http
{


+ 4
- 1
etc/nginx/nginx-tlsv12.conf View File

@@ -4,10 +4,13 @@ worker_cpu_affinity auto;
worker_rlimit_nofile 100000;
pid /run/nginx.pid;

pcre_jit on;

events
{
worker_connections 16384;
multi_accept on;
worker_connections 50000;
accept_mutex on;
use epoll;
}



+ 1
- 2
etc/nginx/nginx.conf View File

@@ -10,8 +10,7 @@ events
{
multi_accept on;
worker_connections 50000;
accept_mutex off;
accept_mutex_delay 200ms;
accept_mutex on;
use epoll;
}



Loading…
Cancel
Save