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:
parent
73d1895ff9
commit
1348cb9bfb
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue