disable_access_log is in item, not global
This commit is contained in:
parent
c6ca7674d8
commit
6ea60d8375
|
@ -7,7 +7,7 @@ server {
|
|||
root {{ item.root|default('/var/www/html') }};
|
||||
index {{ item.index|default('index.html index.htm')}};
|
||||
|
||||
{% if disable_access_log is defined %}
|
||||
{% if item.disable_access_log is defined %}
|
||||
access_log off;
|
||||
error_log off;
|
||||
{% else %}
|
||||
|
|
|
@ -7,7 +7,7 @@ server {
|
|||
root {{ item.root|default('/var/www/html') }};
|
||||
index {{ item.index|default('index.html index.htm')}};
|
||||
|
||||
{% if disable_access_log is defined %}
|
||||
{% if item.disable_access_log is defined %}
|
||||
access_log off;
|
||||
error_log off;
|
||||
{% else %}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
server {
|
||||
{% include 'partials/header.j2' %}
|
||||
|
||||
{% if disable_access_log is defined %}
|
||||
{% if item.disable_access_log is defined %}
|
||||
access_log off;
|
||||
error_log off;
|
||||
{% else %}
|
||||
|
|
Loading…
Reference in New Issue