Caching proxies for tarballs.openstack.org

Add a /tarballs/ caching proxy on our per-provider CI mirror
servers, so as to reduce load on tarballs.openstack.org for larger
artifacts consumed by CI jobs (e.g. 2-4GiB daily docker registry
snapshots).

Change-Id: I527d32f9b43dabb7640bfb056e2bf828b7c1dfa9
This commit is contained in:
Jeremy Stanley 2017-07-10 16:12:04 +00:00
parent 60524e49d8
commit 2889bcc5bb
1 changed files with 7 additions and 0 deletions

View File

@ -124,9 +124,16 @@ NameVirtualHost <%= @vhost_name %>:8081
# Per site caching reverse proxy rules
# Only cache specific backends, rely on afs cache otherwise.
# rdo
CacheEnable disk "/rdo"
ProxyPass "/rdo/" "https://trunk.rdoproject.org/"
ProxyPassReverse "/rdo/" "https://trunk.rdoproject.org/"
# tarballs
CacheEnable disk "/tarballs"
ProxyPass "/tarballs/" "https://tarballs.openstack.org/"
ProxyPassReverse "/tarballs/" "https://tarballs.openstack.org/"
</VirtualHost>
<VirtualHost <%= @vhost_name %>:8081>