File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 22include <%= file %> ;
33<% end -%> <% end -%>
44
5- <% if @vhost_cfg_append -%> <% vhost_cfg_append.each do |key,value| -%>
5+ <% if @vhost_cfg_append -%> <% vhost_cfg_append.sort_by {|k,v| k}. each do |key,value| -%>
66 <%= key %> <%= value %> <% if key[-1,1] != '}' %> ;<% end %>
77<% end -%> <% end -%>
88
Original file line number Diff line number Diff line change 11server {
2- <% if @vhost_cfg_prepend -%> <% vhost_cfg_prepend.each do |key,value| -%>
2+ <% if @vhost_cfg_prepend -%> <% vhost_cfg_prepend.sort_by {|k,v| k}. each do |key,value| -%>
33 <%= key %> <%= value %> ;
44<% end -%> <% end -%>
55
Original file line number Diff line number Diff line change 11server {
2- <% if @ssl_cfg_prepend -%> <% ssl_cfg_prepend.each do |key,value| -%>
2+ <% if @ssl_cfg_prepend -%> <% ssl_cfg_prepend.sort_by {|k,v| k}. each do |key,value| -%>
33 <%= key %> <%= value %> ;
44<% end -%> <% end -%>
55 listen <%= listen_ip %> :<%= ssl_port %> <% if scope.lookupvar('nginx::params::nx_spdy') == 'on' %> ssl spdy<% end %> <% if @listen_options %> <%= listen_options %> <% end %> ;
You can’t perform that action at this time.
0 commit comments