Merge "Add rubygems.org to reverse proxy cache"
This commit is contained in:
commit
3e840ceae8
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user