Replace buildlogs.centos with buildlogs.cdn.centos
Now that we are properly caching requests, we can update our centos.buildlogs proxy cache to directly use https://buildlogs.cdn.centos.org. This will remove the 302 redirect for every request by clients. Change-Id: Ie1dda7302fd3c41d8b754bd0652422c55be26e11 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
6c4c2f6965
commit
d4b73ff77f
@ -140,15 +140,10 @@ NameVirtualHost <%= @vhost_name %>:8081
|
||||
# Per site caching reverse proxy rules
|
||||
# Only cache specific backends, rely on afs cache otherwise.
|
||||
|
||||
# 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/"
|
||||
CacheEnable disk "/buildlogs.centos"
|
||||
ProxyPass "/buildlogs.centos/" "https://buildlogs.cdn.centos.org/"
|
||||
ProxyPassReverse "/buildlogs.centos/" "https://buildlogs.cdn.centos.org/"
|
||||
|
||||
# rdo
|
||||
CacheEnable disk "/rdo"
|
||||
|
Loading…
x
Reference in New Issue
Block a user