2014-06-23 23:26:20 +02:00
|
|
|
<% if defined? @www_root -%>
|
2014-09-12 19:42:51 +02:00
|
|
|
root <%= @www_root %>;
|
2014-06-23 23:26:20 +02:00
|
|
|
<% end -%>
|
|
|
|
<% if defined? @autoindex -%>
|
2014-09-12 19:42:51 +02:00
|
|
|
|
|
|
|
autoindex <%= @autoindex %>;
|
2014-06-23 23:26:20 +02:00
|
|
|
<% end -%>
|
|
|
|
<% if @index_files.count > 0 -%>
|
2014-09-12 19:42:51 +02:00
|
|
|
index <% Array(@index_files).each do |i| %> <%= i %><% end %>;
|
|
|
|
<% end -%>
|
|
|
|
<% if @try_files -%>
|
|
|
|
try_files<% @try_files.each do |try| -%> <%= try %><% end -%>;
|
2014-06-23 23:26:20 +02:00
|
|
|
<% end -%>
|