summaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
authorDmitry Ilvokhin <d@ilvokhin.com>2024-02-04 12:07:51 +0000
committerDmitry Ilvokhin <d@ilvokhin.com>2024-02-04 12:07:51 +0000
commit58e7837450a40e003f9ff2abea0c97d60ee752f0 (patch)
treef7cb95052ce1684b7e307829dd455f8faa80fd81 /roles
parent293fd9c76c6c70b45e2f08f0c3afea84669ab9ad (diff)
downloadinfra-58e7837450a40e003f9ff2abea0c97d60ee752f0.tar.gz
infra-58e7837450a40e003f9ff2abea0c97d60ee752f0.tar.bz2
infra-58e7837450a40e003f9ff2abea0c97d60ee752f0.zip
Change nginx worker_processes from 1 to auto
Just to make it a little bit more generic.
Diffstat (limited to 'roles')
-rw-r--r--roles/nginx/files/nginx.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/nginx/files/nginx.conf b/roles/nginx/files/nginx.conf
index 66d609a..a4d624c 100644
--- a/roles/nginx/files/nginx.conf
+++ b/roles/nginx/files/nginx.conf
@@ -2,7 +2,7 @@
user http;
# Set number of worker processes to number of available CPU cores.
-worker_processes 1;
+worker_processes auto;
# Log errors in a separate file.
error_log /var/log/nginx/error.log;