Merge "Add rubygems.org to reverse proxy cache"

This commit is contained in:
Jenkins 2017-08-14 19:02:59 +00:00 committed by Gerrit Code Review
commit 3e840ceae8

View File

@ -174,6 +174,11 @@ NameVirtualHost <%= @vhost_name %>:8081
CacheEnable disk "/api.rubygems" CacheEnable disk "/api.rubygems"
ProxyPass "/api.rubygems/" "https://api.rubygems.org/" ProxyPass "/api.rubygems/" "https://api.rubygems.org/"
ProxyPassReverse "/api.rubygems/" "https://api.rubygems.org/" ProxyPassReverse "/api.rubygems/" "https://api.rubygems.org/"
# rubygems.org
CacheEnable disk "/rubygems"
ProxyPass "/rubygems/" "https://rubygems.org/"
ProxyPassReverse "/rubygems/" "https://rubygems.org/"
</VirtualHost> </VirtualHost>
<VirtualHost <%= @vhost_name %>:8081> <VirtualHost <%= @vhost_name %>:8081>