module-nginx/templates/vhost/vhost_location_alias.erb

9 lines
366 B
Text
Raw Normal View History

2013-07-17 20:42:57 +02:00
location <%= @location %> {
<% if @location_cfg_prepend -%><% @location_cfg_prepend.sort_by {|k,v| k}.each do |key,value| -%>
<%= key %> <%= value %>;<% end -%><% end -%>
2013-07-17 20:42:57 +02:00
alias <%= @location_alias %>;
<% if @location_cfg_append -%><% @location_cfg_append.sort_by {|k,v| k}.each do |key,value| -%>
<%= key %> <%= value %>;<% end -%><% end -%>
2012-09-24 17:21:35 +02:00
}