worker_connections fine tuning
parent
dfa50392f7
commit
3712ab8045
|
@ -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)
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue