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
This commit is contained in:
Marc Gariepy 2016-09-26 13:51:22 -04:00 committed by Marc Gariépy
parent 452f08fa8e
commit 95ac11e15c

View File

@ -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=