Add MariaDB to cache

The MariaDB 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).

Change-Id: I402f20b4c798fbe717109d2c5b3f719760b69272
This commit is contained in:
Mohammed Naser 2018-06-21 20:07:52 -04:00
parent 0c84fcdb91
commit 40cbd74315

View File

@ -210,6 +210,11 @@ LogFormat "%h %l %u %t \"%r\" %>s %b %{cache-status}e \"%{Referer}i\" \"%{User-a
CacheEnable disk "/percona" CacheEnable disk "/percona"
ProxyPass "/percona/" "https://repo.percona.com/" ttl=120 keepalive=On retry=0 ProxyPass "/percona/" "https://repo.percona.com/" ttl=120 keepalive=On retry=0
ProxyPassReverse "/percona/" "https://repo.percona.com/" ProxyPassReverse "/percona/" "https://repo.percona.com/"
# MariaDB
CacheEnable disk "/mariadb"
ProxyPass "/mariadb/" "https://downloads.mariadb.org/" ttl=120 keepalive=On retry=0
ProxyPassReverse "/mariadb" "https://downloads.mariadb.org/"
</VirtualHost> </VirtualHost>
<VirtualHost <%= @vhost_name %>:8081> <VirtualHost <%= @vhost_name %>:8081>