diff --git a/README.md b/README.md index d5df220..907bd2b 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Available variables are listed below, along with default values (see `vars/main. The user under which Nginx will run. nginx_worker_processes: "1" - nginx_worker_connections: "1024" + nginx_worker_connections: "8192" `nginx_worker_processes` should be set to the number of cores present on your machine. Connections (find this number with `grep processor /proc/cpuinfo | wc -l`). `nginx_worker_connections` is the number of connections per process. Set this higher to handle more simultaneous connections (and remember that a connection will be used for as long as the keepalive timeout duration for every client!). diff --git a/vars/main.yml b/vars/main.yml index 0304377..fd8e88f 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -1,6 +1,6 @@ --- nginx_user: "nginx" nginx_worker_processes: "1" -nginx_worker_connections: "1024" +nginx_worker_connections: "8192" nginx_client_max_body_size: "64m" nginx_keepalive_timeout: "65"