worker_connections fine tuning

pull/23/head
Szekeres Bálint 2018-06-11 20:29:09 +02:00
parent dfa50392f7
commit 3712ab8045
2 changed files with 3 additions and 2 deletions

View File

@ -68,3 +68,4 @@ Online nginx configuration generator.
* [h5bp/server-configs-nginx](https://github.com/h5bp/server-configs-nginx)
* [Diffie-Hellman DSA-like parameters](https://security.stackexchange.com/questions/95178/diffie-hellman-parameters-still-calculating-after-24-hours/95184#95184)
* [hstspreload.org](https://hstspreload.org)
* [Optimal value for nginx worker_connections](https://serverfault.com/questions/787919/optimal-value-for-nginx-worker-connections)

View File

@ -1,11 +1,11 @@
user {{ data.user }};
pid {{ data.pid}};
worker_processes {{ data.worker_processes }};
worker_rlimit_nofile 409600;
worker_rlimit_nofile 65535;
events {
worker_connections 4096;
multi_accept on;
worker_connections 65535;
}
http {