Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/patch-1'
Browse files Browse the repository at this point in the history
* origin/patch-1:
  Update vhost_ssl_header.erb
  • Loading branch information
cdenneen committed Feb 7, 2014
2 parents 408b0c8 + 4f8c71a commit 7a83b0e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion templates/vhost/vhost_ssl_header.erb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,13 @@ server {

access_log <%= @ssl_access_log %>;
error_log <%= @ssl_error_log %>;


<% if @vhost_cfg_prepend -%><% @vhost_cfg_prepend.sort_by{ |k, v| k.to_s == 'allow' ? '' : k.to_s }.each do |key,value| -%>
<%= key %> <%= value %>;
<% end -%><% end -%>
<% if @vhost_cfg_ssl_prepend -%><% @vhost_cfg_ssl_prepend.sort_by{ |k, v| k.to_s == 'allow' ? '' : k.to_s }.each do |key,value| -%>
<%= key %> <%= value %>;
<% end -%><% end -%>
<% if @root -%>
root <%= @root %>;
<% end -%>
Expand Down

0 comments on commit 7a83b0e

Please sign in to comment.