Merge "Add caching proxy config for Alpine Linux"

This commit is contained in:
Zuul 2018-07-17 16:45:23 +00:00 committed by Gerrit Code Review
commit 8cc85c458f
1 changed files with 5 additions and 0 deletions

View File

@ -220,6 +220,11 @@ LogFormat "%h %l %u %t \"%r\" %>s %b %{cache-status}e \"%{Referer}i\" \"%{User-a
CacheEnable disk "/docker"
ProxyPass "/docker/" "https://download.docker.com/linux/" ttl=120 keepalive=On retry=0
ProxyPassReverse "/docker/" "https://download.docker.com/linux/"
# Alpine
CacheEnable disk "/alpine"
ProxyPass "/alpine/" "http://dl-cdn.alpinelinux.org/alpine/" ttl=120 keepalive=On retry=0
ProxyPassReverse "/alpine/" "http://dl-cdn.alpinelinux.org/alpine/
</VirtualHost>
<VirtualHost <%= @vhost_name %>:8081>