limit nginx workers

This commit is contained in:
SkyperTHC 2023-03-08 05:38:57 +00:00
parent 5c1883c1b7
commit 4abf5097d6
No known key found for this signature in database
GPG Key ID: A9BD386DF9113CD6
2 changed files with 2 additions and 2 deletions

@ -1,6 +1,6 @@
user www-data;
# user nginx;
worker_processes auto;
worker_processes 2;
pid /run/nginx.pid;
# include /etc/nginx/modules-enabled/*.conf;

@ -1,6 +1,6 @@
user nginx;
worker_processes auto;
worker_processes 2;
error_log /var/log/nginx/error.log notice;
pid /var/run/nginx.pid;