From 666e88f2a9fc246b71591fd19db4c3594f13ef09 Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Thu, 17 Mar 2016 10:03:04 -0500 Subject: [PATCH] PR #50 follow-up: Document new variable. --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index effc254..cf7d998 100644 --- a/README.md +++ b/README.md @@ -51,8 +51,9 @@ The user under which Nginx will run. Defaults to `nginx` for RedHat, and `www-da nginx_worker_processes: "1" nginx_worker_connections: "1024" + nginx_multi_accept: "off" -`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!). +`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!). You can set `nginx_multi_accept` to `on` if you want Nginx to accept all connections immediately. nginx_error_log: "/var/log/nginx/error.log warn" nginx_access_log: "/var/log/nginx/access.log main buffer=16k"