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.
This commit is contained in:
AD7six 2013-11-20 17:36:32 +00:00
parent 73d1895ff9
commit 1348cb9bfb
1 changed files with 1 additions and 1 deletions

View File

@ -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.