From 6344707b6da207530c90d68b082e1075633db37f Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Tue, 1 Aug 2017 00:25:02 -0400 Subject: [PATCH] Add buildlogs.centos.org to reverse proxy cache Some tripleo and puppet jobs depend on buildlogs.centos.org. Add the domain to our reverse proxies to help jobs from timing out. Related-Bug: #1674681 Change-Id: I9d9d51971e52e8dc594d9d46bafc60147ad3c96b Signed-off-by: Paul Belanger --- modules/openstack_project/templates/mirror.vhost.erb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/openstack_project/templates/mirror.vhost.erb b/modules/openstack_project/templates/mirror.vhost.erb index 220aecf4fb..0e4068f840 100644 --- a/modules/openstack_project/templates/mirror.vhost.erb +++ b/modules/openstack_project/templates/mirror.vhost.erb @@ -125,6 +125,11 @@ NameVirtualHost <%= @vhost_name %>:8081 # Per site caching reverse proxy rules # Only cache specific backends, rely on afs cache otherwise. + # buildlogs.centos.org + CacheEnable disk "/buildlogs.centos" + ProxyPass "/buildlogs.centos/" "https://buildlogs.centos.org/" + ProxyPassReverse "/buildlogs.centos/" "https://buildlogs.centos.org/" + # rdo CacheEnable disk "/rdo" ProxyPass "/rdo/" "https://trunk.rdoproject.org/"