support events{} extra options

support events{} extra options
pull/129/head
Ryan MacDonald 6 years ago committed by GitHub
parent 841f6f2e85
commit bc80e9fd5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      templates/nginx.conf.j2

@ -15,6 +15,10 @@ worker_processes {{ nginx_worker_processes }};
events {
worker_connections {{ nginx_worker_connections }};
multi_accept {{ nginx_multi_accept | default('off') }};
{% if nginx_extra_events_options %}
{{ nginx_extra_events_options|indent(4, False) }}
{% endif %}
{% if nginx_use_method is defined %}
use {{ nginx_use_method }};
{% endif %}