Add "more" info on vhost

This commit is contained in:
Emilien Mantel
2015-09-09 17:44:53 +02:00
parent ed5b7bf2cf
commit 9da1673293
3 changed files with 11 additions and 2 deletions

View File

@@ -22,6 +22,12 @@ server {
index {{ item.index | default('index.html index.htm') }};
{% endblock %}
{% if item.more is defined and item.more is iterable %}
{% for line in item.more %}
{{ item.more }}
{% endfor %}
{% endif %}
location / {
{% block template_try_files %}
try_files $uri $uri/ =404;