summaryrefslogtreecommitdiff
path: root/templates/vhost-redirect.conf.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/vhost-redirect.conf.erb')
-rw-r--r--templates/vhost-redirect.conf.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/vhost-redirect.conf.erb b/templates/vhost-redirect.conf.erb
index 1cd0362..0a97142 100644
--- a/templates/vhost-redirect.conf.erb
+++ b/templates/vhost-redirect.conf.erb
@@ -3,7 +3,7 @@ NameVirtualHost <%= @vhost_name %>:<%= @port %>
3 ServerName <%= @srvname %> 3 ServerName <%= @srvname %>
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 @serveraliases != nil %>
7<%= " ServerAlias #{@serveraliases}" %> 7<%= " ServerAlias #{@serveraliases}" %>
8<% end %> 8<% end %>
9 Redirect / <%= @dest %>/ 9 Redirect / <%= @dest %>/