diff --git a/nginx/templates/config.jinja b/nginx/templates/config.jinja index 2cd150c..85e73b3 100644 --- a/nginx/templates/config.jinja +++ b/nginx/templates/config.jinja @@ -14,6 +14,10 @@ daemon {{ nginx.get('daemon', 'off') }}; events { worker_connections {{ nginx.get('events', {}).get('worker_connections', 1024) }}; + {% set use = nginx.get('events', {}).get('use', '') %} + {% if use %} + use {{ use }}; + {% endif %}} } http {