mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-02-24 09:03:29 +07:00
Add "more" info on vhost
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user