Moved the nginx_extra_conf_options above the events block.

pull/88/head
Thomas Frantz 7 years ago
parent d63de2113b
commit af379cf491
  1. 7
      templates/nginx.conf.j2

@ -5,14 +5,15 @@ pid {{ nginx_pidfile }};
worker_processes {{ nginx_worker_processes }}; worker_processes {{ nginx_worker_processes }};
{% if nginx_extra_conf_options %}
{{ nginx_extra_conf_options }}
{% endif %}
events { events {
worker_connections {{ nginx_worker_connections }}; worker_connections {{ nginx_worker_connections }};
multi_accept {{ nginx_multi_accept }}; multi_accept {{ nginx_multi_accept }};
} }
{% if nginx_extra_conf_options %}
{{ nginx_extra_conf_options }}
{% endif %}
http { http {
include {{ nginx_mime_file_path }}; include {{ nginx_mime_file_path }};