From e095df853caaa21366d0f209bcdd688e356d95b7 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Mon, 29 Jun 2020 22:59:10 +0000 Subject: More repository vhost fixes This time it really looks like what I had tested... --- modules/buildsystem/templates/vhost_repository.conf | 10 +++++----- 1 file 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 + } +-%> > Header append Cache-Control "public, must-revalidate" @@ -56,7 +59,7 @@ distros = scope.lookupvar('buildsystem::var::distros::distros') Options Indexes FollowSymLinks - > + > 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 -<%- - } --%> -- cgit v1.2.1