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



events { events {
worker_connections {{ nginx.get('events', {}).get('worker_connections', 1024) }}; worker_connections {{ nginx.get('events', {}).get('worker_connections', 1024) }};
{% set use = nginx.get('events', {}).get('use', '') %}
{% if use %}
use {{ use }};
{% endif %}}
} }


http { http {

Loading…
Cancel
Save