mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-11-26 03:29:01 +07:00
Add "more" info on vhost
This commit is contained in:
1 parent
ed5b7bf2cf
commit
9da1673293
3 files changed
+11
-2
No files matched your search
@@ -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