summaryrefslogtreecommitdiff
path: root/templates/error.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/error.erb')
-rw-r--r--templates/error.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/error.erb b/templates/error.erb
index 70693fe..9f13fd9 100644
--- a/templates/error.erb
+++ b/templates/error.erb
@@ -1,5 +1,5 @@
# vhost to handle inexistent vhosts
-<VirtualHost *:80>
+<VirtualHost *:<%= scope.lookupvar('apache::http_port') %>>
ServerName error.<%= hosting_domain %>
ServerAlias *.<%= hosting_domain %>
DocumentRoot <%= scope.lookupvar('apache::error_folder') %>