  location <%= location %> {
<% location_custom_cfg.each do |key,value| -%>
    <%= key %> <%= value %>;
<% end -%>
  }

  location <%= location %> {
<% location_custom_cfg.sort_by {|k,v| k}.each do |key,value| -%>
    <%= key %> <%= value %>;
<% end -%>
  }

Sort location_custom-cfg hash to prevent random ordering
Sort location_custom-cfg hash to prevent random ordering
