From 58e7837450a40e003f9ff2abea0c97d60ee752f0 Mon Sep 17 00:00:00 2001 From: Dmitry Ilvokhin Date: Sun, 4 Feb 2024 12:07:51 +0000 Subject: Change nginx worker_processes from 1 to auto Just to make it a little bit more generic. --- roles/nginx/files/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/nginx/files/nginx.conf') 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; -- cgit v1.2.3-70-g09d2