From 95ac11e15cc4daf7cdc6e31e55e0fa3df2ac35ca Mon Sep 17 00:00:00 2001 From: Marc Gariepy Date: Mon, 26 Sep 2016 13:51:22 -0400 Subject: [PATCH] add VfilePatternEx to apt-cacher-ng for centos. Centos mirror fail with 403 when using mirrorlist.centos.org. Adding the pattern to match the url. https://www.pitt-pladdy.com/blog/_20150720-132951_0100_Home_Lab_Project_apt-cacher-ng_with_CentOS/ Change-Id: I64bc7c2bd85a8b4c5ca03564c1671967f5b197a6 --- templates/acng.conf.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/acng.conf.j2 b/templates/acng.conf.j2 index 5f66bdb..708cc2e 100644 --- a/templates/acng.conf.j2 +++ b/templates/acng.conf.j2 @@ -18,3 +18,4 @@ PidFile: /var/run/apt-cacher-ng ExTreshold: 4 LocalDirs: acng-doc /usr/share/doc/apt-cacher-ng PassThroughPattern: .* +VfilePatternEx: ^/\?release=[0-9]+&arch=