Tweaked nginx ressource limits

This commit is contained in:
Daniel Winzen
2020-01-16 06:22:35 +01:00
parent d54fa4535d
commit 739216f853

View File

@ -1,17 +1,17 @@
daemon on;
user www-data;
worker_processes auto;
worker_processes 1;
pid /run/nginx.pid;
pcre_jit on;
worker_rlimit_nofile 30000;
worker_rlimit_nofile 100000;
worker_shutdown_timeout 30m;
events {
worker_connections 20000;
worker_connections 100000;
multi_accept on;
}
http {
##
# Basic Settings
##