{% set use = nginx.get('events', {}).get('use', '') -%} | {% set use = nginx.get('events', {}).get('use', '') -%} | ||||
{% if use -%} | {% if use -%} | ||||
use {{ use }}; | use {{ use }}; | ||||
{% endif -%} | |||||
{% endif %} | |||||
} | } | ||||
http { | http { | ||||
access_log off; | access_log off; | ||||
} | } | ||||
{% endif -%} | {% endif -%} | ||||
{% endif -%} | |||||
{% endif %} | |||||
include /etc/nginx/conf.d/*.conf; | include /etc/nginx/conf.d/*.conf; | ||||
include /etc/nginx/sites-enabled/*.conf; | include /etc/nginx/sites-enabled/*.conf; |