Revert "Replace buildlogs.centos with buildlogs.cdn.centos"

So it seems that metadata lives on buildlogs.centos.org and RPM on
buildlogs.cdn.centos.org. For the moment, we'll need to support both.
Which means, we still have a 302 redirect hit.

It shouldn't be too bad, because this is how docker.io also works.

This reverts commit d4b73ff77f.

Change-Id: Id202d41357c42eeb73020a3a6e6c768644ad1139
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-08-16 12:33:26 -04:00
parent 0b55400e8d
commit b63f756115

View File

@ -140,10 +140,15 @@ NameVirtualHost <%= @vhost_name %>:8081
# Per site caching reverse proxy rules
# Only cache specific backends, rely on afs cache otherwise.
# buildlogs.cdn.centos.org
# buildlogs.centos.org (302 redirects to buildlogs.cdn.centos.org)
CacheEnable disk "/buildlogs.centos"
ProxyPass "/buildlogs.centos/" "https://buildlogs.cdn.centos.org/"
ProxyPassReverse "/buildlogs.centos/" "https://buildlogs.cdn.centos.org/"
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"