From f0721b737bc0edb77e0a8f0f47c17eba20aacff2 Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Wed, 9 Aug 2017 16:22:44 -0400 Subject: [PATCH] Also add buildlogs.cdn.centos.org It looks like queries to buildlogs.centos end up 302 redirected to buildlogs.cdn.centos.org. Add that to apache for now, so we can experiment with using it directly. Change-Id: Ic4b2479b2714114442b6f2b87283119c8d94d722 Signed-off-by: Paul Belanger --- modules/openstack_project/templates/mirror.vhost.erb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/openstack_project/templates/mirror.vhost.erb b/modules/openstack_project/templates/mirror.vhost.erb index 9eb5774533..8c1c59f1df 100644 --- a/modules/openstack_project/templates/mirror.vhost.erb +++ b/modules/openstack_project/templates/mirror.vhost.erb @@ -140,11 +140,16 @@ NameVirtualHost <%= @vhost_name %>:8081 # Per site caching reverse proxy rules # Only cache specific backends, rely on afs cache otherwise. - # buildlogs.centos.org + # buildlogs.centos.org (302 redirects to buildlogs.cdn.centos.org) CacheEnable disk "/buildlogs.centos" ProxyPass "/buildlogs.centos/" "https://buildlogs.centos.org/" ProxyPassReverse "/buildlogs.centos/" "https://buildlogs.centos.org/" + # buildlogs.cdn.centos.org + CacheEnable disk "/buildlogs.cdn.centos" + ProxyPass "/buildlogs.cdn.centos/" "https://buildlogs.cdn.centos.org/" + ProxyPassReverse "/buildlogs.cdn.centos/" "https://buildlogs.cdn.centos.org/" + # rdo CacheEnable disk "/rdo" ProxyPass "/rdo/" "https://trunk.rdoproject.org/"