Tweaked nginx ressource limits
This commit is contained in:
@ -1,17 +1,17 @@
|
|||||||
daemon on;
|
daemon on;
|
||||||
user www-data;
|
user www-data;
|
||||||
worker_processes auto;
|
worker_processes 1;
|
||||||
pid /run/nginx.pid;
|
pid /run/nginx.pid;
|
||||||
pcre_jit on;
|
pcre_jit on;
|
||||||
worker_rlimit_nofile 30000;
|
worker_rlimit_nofile 100000;
|
||||||
|
worker_shutdown_timeout 30m;
|
||||||
|
|
||||||
events {
|
events {
|
||||||
worker_connections 20000;
|
worker_connections 100000;
|
||||||
multi_accept on;
|
multi_accept on;
|
||||||
}
|
}
|
||||||
|
|
||||||
http {
|
http {
|
||||||
|
|
||||||
##
|
##
|
||||||
# Basic Settings
|
# Basic Settings
|
||||||
##
|
##
|
||||||
|
Reference in New Issue
Block a user