aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/templates/vhost_repository.conf
diff options
context:
space:
mode:
Diffstat (limited to 'modules/buildsystem/templates/vhost_repository.conf')
-rw-r--r--modules/buildsystem/templates/vhost_repository.conf10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/buildsystem/templates/vhost_repository.conf b/modules/buildsystem/templates/vhost_repository.conf
index 9fa207a6..e082ffca 100644
--- a/modules/buildsystem/templates/vhost_repository.conf
+++ b/modules/buildsystem/templates/vhost_repository.conf
@@ -42,7 +42,10 @@ distros = scope.lookupvar('buildsystem::var::distros::distros')
distro = distros[distroname]
if distro['no_mirror'] -%>
Alias /<%= distribdir %>/<%= distroname %>/ "<%= bootstrap_reporoot %>/<%= distroname %>/"
-<%- end -%>
+<%-
+ end
+ }
+-%>
<Directory <%= bootstrap_reporoot %>>
Header append Cache-Control "public, must-revalidate"
@@ -56,7 +59,7 @@ distros = scope.lookupvar('buildsystem::var::distros::distros')
Options Indexes FollowSymLinks
</Directory>
- <Directory <%= mirror_reporoot %>>
+ <Directory <%= mirror_root %>>
Header append Cache-Control "public, must-revalidate"
<%-
for req in access_requires do
@@ -67,7 +70,4 @@ distros = scope.lookupvar('buildsystem::var::distros::distros')
-%>
Options Indexes FollowSymLinks
</Directory>
-<%-
- }
--%>
</VirtualHost>