<% if defined? @www_root -%> root <%= @www_root %>; <% end -%> <% if @try_files -%> try_files<% @try_files.each do |try| -%> <%= try %><% end -%>; <% end -%> <% if defined? @autoindex -%> autoindex <%= @autoindex %>; <% end -%> <% if @index_files.count > 0 -%> index <% Array(@index_files).each do |i| %> <%= i %><% end %>; <% end -%> <% @rewrite_rules.each do |rewrite_rule| -%> rewrite <%= rewrite_rule %>; <% end -%> <% if defined? @auth_basic -%> auth_basic "<%= @auth_basic %>"; <% end -%> <% if defined? @auth_basic_user_file -%> auth_basic_user_file <%= @auth_basic_user_file %>; <% end -%>