summaryrefslogtreecommitdiff
path: root/templates/vhost-default.conf.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/vhost-default.conf.erb')
-rw-r--r--templates/vhost-default.conf.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/vhost-default.conf.erb b/templates/vhost-default.conf.erb
index 2cb96d5..e9d2d77 100644
--- a/templates/vhost-default.conf.erb
+++ b/templates/vhost-default.conf.erb
@@ -8,7 +8,7 @@ NameVirtualHost <%= @vhost_name %>:<%= @port %>
8 ServerName <%= @srvname %> 8 ServerName <%= @srvname %>
9<% if @serveraliases.is_a? Array -%> 9<% if @serveraliases.is_a? Array -%>
10<% @serveraliases.each do |name| -%><%= " ServerAlias #{name}\n" %><% end -%> 10<% @serveraliases.each do |name| -%><%= " ServerAlias #{name}\n" %><% end -%>
11<% elsif @serveraliases != '' -%> 11<% elsif @serveraliases != nil -%>
12<%= " ServerAlias #{@serveraliases}" -%> 12<%= " ServerAlias #{@serveraliases}" -%>
13<% end -%> 13<% end -%>
14 DocumentRoot <%= @docroot %> 14 DocumentRoot <%= @docroot %>