add location_custom_cfg_prepend support
This commit is contained in:
parent
e8c1cd70a8
commit
ca151970e6
1 changed files with 6 additions and 0 deletions
|
@ -5,6 +5,9 @@
|
|||
<% if @location_deny -%><% @location_deny.each do |deny_rule| -%>
|
||||
deny <%= deny_rule %>;
|
||||
<% end -%><% end -%>
|
||||
<% if @location_custom_cfg_prepend -%><% @location_custom_cfg_prepend.each do |value| -%>
|
||||
<%= value %>
|
||||
<% end -%><% end -%>
|
||||
<% if @location_cfg_prepend -%><% @location_cfg_prepend.sort_by {|k,v| k}.each do |key,value| -%>
|
||||
<%= key %> <%= value %>;
|
||||
<% end -%><% end -%>
|
||||
|
@ -25,6 +28,9 @@
|
|||
<% end -%>
|
||||
<% if @location_cfg_append -%><% @location_cfg_append.sort_by {|k,v| k}.each do |key,value| -%>
|
||||
<%= key %> <%= value %>;
|
||||
<% end -%><% end -%>
|
||||
<% if @location_custom_cfg_append -%><% @location_custom_cfg_append.each do |value| -%>
|
||||
<%= value %>
|
||||
<% end -%><% end -%>
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue