Add percona to cache
The Percona mirrors are relatively unstable and therefore having them in our cache would be very useful as we can avoid all the hits (and it is relatively static content). Also, this fixes a small missing quote in the Oracle Linux configuration. Change-Id: Iaa11d2de5d6709341c469b9b30da77a61f7533a6
This commit is contained in:
parent
eb1b962df5
commit
5326fe30e1
@ -202,9 +202,14 @@ LogFormat "%h %l %u %t \"%r\" %>s %b %{cache-status}e \"%{Referer}i\" \"%{User-a
|
||||
ProxyPassReverse "/grafana/" "https://packagecloud.io/grafana/"
|
||||
|
||||
# OracleLinux
|
||||
CacheEnable disk "/oraclelinux
|
||||
CacheEnable disk "/oraclelinux"
|
||||
ProxyPass "/oraclelinux/" "http://yum.oracle.com/repo/OracleLinux/" ttl=120 keepalive=On retry=0
|
||||
ProxyPassReverse "/oraclelinux/" "http://yum.oracle.com/repo/OracleLinux/"
|
||||
|
||||
# Percona
|
||||
CacheEnable disk "/percona"
|
||||
ProxyPass "/percona/" "https://repo.percona.com/" ttl=120 keepalive=On retry=0
|
||||
ProxyPassReverse "/percona/" "https://repo.percona.com/"
|
||||
</VirtualHost>
|
||||
|
||||
<VirtualHost <%= @vhost_name %>:8081>
|
||||
|
Loading…
Reference in New Issue
Block a user