Skip to content

Commit

Permalink
Merge pull request #305 from andschwa/patch-alias_autoindex
Browse files Browse the repository at this point in the history
Adding autoindex to location alias
  • Loading branch information
James Fryman committed Apr 24, 2014
2 parents eb623b4 + 12004e8 commit 4d816c9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/vhost/vhost_location_alias.erb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
<% end -%>
<% end -%><% end -%>
alias <%= @location_alias %>;
<% if defined? @autoindex -%>
autoindex <%= @autoindex %>;
<% end -%>
<% if @location_cfg_append -%><% @location_cfg_append.sort_by {|k,v| k}.each do |key,value| -%>
<% if value.is_a?(Hash) -%><% value.each do |subkey,subvalue| -%>
<% Array(subvalue).each do |asubvalue| -%>
Expand Down

0 comments on commit 4d816c9

Please sign in to comment.