Browse Source

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

susefix
Kent Shultz 10 years ago
parent
commit
b4ae528df5
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      nginx/templates/config.jinja

+ 4
- 0
nginx/templates/config.jinja 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 {

Loading…
Cancel
Save