add support for events { use <epoll,etc>}

This commit is contained in:
Kent Shultz 2014-05-28 16:57:48 -07:00
parent 928882e401
commit b4ae528df5

View File

@ -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 {