Map var "Autoindex and Fancyindex"

pull/120/head
bbonnot 7 years ago
parent 7aa2ea4779
commit 8c8c6a3973
  1. 8
      templates/vhost.j2

@ -22,6 +22,14 @@ server {
root {{ item.root }};
{% endif %}
{% if item.autoindex is defined %}
autoindex {{ item.autoindex }};
{% endif %}
{% if item.fancyindex is defined %}
fancyindex {{ item.fancyindex }};
{% endif %}
index {{ item.index | default('index.html index.htm') }};
{% if item.error_page is defined %}