aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/buildsystem/templates/vhost_repository.conf6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/buildsystem/templates/vhost_repository.conf b/modules/buildsystem/templates/vhost_repository.conf
index 55259cc1..ab59349f 100644
--- a/modules/buildsystem/templates/vhost_repository.conf
+++ b/modules/buildsystem/templates/vhost_repository.conf
@@ -6,7 +6,7 @@ mirror_root = scope.lookupvar('buildsystem::var::repository::mirror_root')
%>
<VirtualHost *:80>
- ServerName repository.<%= domain %>
+ ServerName repository.<%= @domain %>
DocumentRoot <%= mirror_root %>
Alias /distrib/infra_1/ "/distrib/bootstrap/distrib/infra_1/"
Alias /distrib/infra_2/ "/distrib/bootstrap/distrib/infra_2/"
@@ -18,7 +18,7 @@ mirror_root = scope.lookupvar('buildsystem::var::repository::mirror_root')
Deny from all
Allow from localhost, 127.0.0.1
Allow from <%= buildsystem_nodes %>
- Allow from .<%= domain %>
+ Allow from .<%= @domain %>
Allow from 10.42.0
# FIXME: add a reverse lookup for rabbit
Allow from 212.85.158.152
@@ -44,7 +44,7 @@ mirror_root = scope.lookupvar('buildsystem::var::repository::mirror_root')
Deny from all
Allow from localhost, 127.0.0.1
Allow from <%= buildsystem_nodes %>
- Allow from .<%= domain %>
+ Allow from .<%= @domain %>
Options Indexes FollowSymLinks
</Directory>