From 1348cb9bfb8b9009f720600b8c718b20a360376e Mon Sep 17 00:00:00 2001 From: AD7six Date: Wed, 20 Nov 2013 17:36:32 +0000 Subject: [PATCH] Ensure compatibility with earlier/current versions of nginx auto was not introdued until 1.3.8 and 1.2.5. Debian wheezy for example only comes with 1.2.1, only the next version (in testing) will have a version of nginx which supports auto. --- nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx.conf b/nginx.conf index 4adb777..c7e34ae 100644 --- a/nginx.conf +++ b/nginx.conf @@ -11,7 +11,7 @@ user www www; # The maximum number of connections for Nginx is calculated by: # max_clients = worker_processes * worker_connections -worker_processes auto; +worker_processes 2; # Maximum open file descriptors per process; # should be > worker_connections.