summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/dual-elasticsearch.vhost.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/dual-elasticsearch.vhost.erb b/templates/dual-elasticsearch.vhost.erb
index 3f4fc67..6f75740 100644
--- a/templates/dual-elasticsearch.vhost.erb
+++ b/templates/dual-elasticsearch.vhost.erb
@@ -3,7 +3,7 @@
3 ServerAdmin <%= @serveradmin %> 3 ServerAdmin <%= @serveradmin %>
4<% if @serveraliases.is_a? Array %> 4<% if @serveraliases.is_a? Array %>
5<% @serveraliases.each do |name| %><%= " ServerAlias #{name}\n" %><% end %> 5<% @serveraliases.each do |name| %><%= " ServerAlias #{name}\n" %><% end %>
6<% elsif @serveraliases != '' %> 6<% elsif ! ['', nil].include?(@serveraliases) %>
7<%= " ServerAlias #{@serveraliases}" %> 7<%= " ServerAlias #{@serveraliases}" %>
8<% end %> 8<% end %>
9 9