dynamic worker_connections
This commit is contained in:
parent
f9a73e6b23
commit
874872bd00
@ -2,6 +2,7 @@
|
|||||||
nginx_user: nginx
|
nginx_user: nginx
|
||||||
nginx_group: nginx
|
nginx_group: nginx
|
||||||
nginx_worker_processes: 1
|
nginx_worker_processes: 1
|
||||||
|
nginx_worker_connections: 1024
|
||||||
nginx_open_ports:
|
nginx_open_ports:
|
||||||
- 80
|
- 80
|
||||||
- 443
|
- 443
|
||||||
|
@ -7,7 +7,7 @@ pid /run/nginx.pid;
|
|||||||
|
|
||||||
|
|
||||||
events {
|
events {
|
||||||
worker_connections 1024;
|
worker_connections {{ nginx_worker_connections }};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user