Browse Source

Merge "Fix template variables"

changes/44/625344/1
Zuul 1 year ago
parent
commit
db7e1887c8
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      templates/dual-elasticsearch.vhost.erb

+ 1
- 1
templates/dual-elasticsearch.vhost.erb View File

@@ -3,7 +3,7 @@
3 3
   ServerAdmin <%= @serveradmin %>
4 4
 <% if @serveraliases.is_a? Array %>
5 5
 <% @serveraliases.each do |name| %><%= "  ServerAlias #{name}\n" %><% end %>
6
-<% elsif @serveraliases != '' %>
6
+<% elsif ! ['', nil].include?(@serveraliases) %>
7 7
 <%= "  ServerAlias #{@serveraliases}" %>
8 8
 <% end %>
9 9
 

Loading…
Cancel
Save