Update vhost_ssl_header.erb
Add vhost_cfg_prepend to vhost_ssl_header Add vhost_cfg_ssl_prepend to vhost_ssl_header
This commit is contained in:
parent
26a856e338
commit
4f8c71a5b6
1 changed files with 7 additions and 1 deletions
|
@ -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 -%>
|
||||
|
|
Loading…
Reference in a new issue