From bc80e9fd5d176c3b6ffa242d5d661e3eb1d02ec5 Mon Sep 17 00:00:00 2001 From: Ryan MacDonald Date: Wed, 26 Sep 2018 14:33:49 -0500 Subject: [PATCH] support events{} extra options support events{} extra options --- templates/nginx.conf.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/nginx.conf.j2 b/templates/nginx.conf.j2 index b13be94..a619ec1 100644 --- a/templates/nginx.conf.j2 +++ b/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 %}