mirror of
https://github.com/DO1JLR/ansible_role_nginx.git
synced 2024-08-16 16:19:48 +02:00
9 lines
295 B
Django/Jinja
9 lines
295 B
Django/Jinja
error_log /var/log/nginx/log_{{ site.name }}.error.log;
|
|
|
|
{% if site.logging | default( nginx__default_enable_logging ) -%}
|
|
access_log /var/log/nginx/log_{{ site.name }}.access.log;
|
|
access_log on;
|
|
{% else %}
|
|
# access_log /var/log/nginx/log_{{ site.name }}.access.log;
|
|
access_log off;
|
|
{% endif %}
|