This commit is contained in:
parent
d48a80aaf6
commit
c99f44aca7
@ -7,7 +7,6 @@
|
|||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: 0640
|
mode: 0640
|
||||||
validate: /bin/bash -c 'nginx -t -c /dev/stdin <<< "events {worker_connections 10;} http { include %s; }"'
|
|
||||||
loop: "{{ nginx_vhosts_default + nginx_vhosts_extra }}"
|
loop: "{{ nginx_vhosts_default + nginx_vhosts_extra }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
label: "{{ item.file }}"
|
label: "{{ item.file }}"
|
||||||
|
@ -34,11 +34,11 @@ http {
|
|||||||
'' close;
|
'' close;
|
||||||
}
|
}
|
||||||
{% for map in nginx_maps %}
|
{% for map in nginx_maps %}
|
||||||
map {{ map.input }} {{ map.output }} {
|
map {{ map.input }} {{ map.output }} {
|
||||||
{% for param in map.parameters %}
|
{% for param in map.parameters %}
|
||||||
{{ param }};
|
{{ param }};
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
}
|
}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
sendfile on;
|
sendfile on;
|
||||||
|
Loading…
Reference in New Issue
Block a user