dynamic worker_connections

This commit is contained in:
Robert Kaussow 2017-12-24 17:42:23 +01:00
parent f9a73e6b23
commit 874872bd00
2 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@
nginx_user: nginx
nginx_group: nginx
nginx_worker_processes: 1
nginx_worker_connections: 1024
nginx_open_ports:
- 80
- 443

View File

@ -7,7 +7,7 @@ pid /run/nginx.pid;
events {
worker_connections 1024;
worker_connections {{ nginx_worker_connections }};
}