Add more reverse proxy

Add opendaylight, elasticsearch, grafana, oraclelinux reverse proxy.

Change-Id: Id987b3dcf472c3817d904cd84e36706b640f639d
This commit is contained in:
Jeffrey Zhang 2017-11-29 13:38:01 +08:00
parent 42e159434d
commit 64d73a8f55
1 changed files with 20 additions and 0 deletions

View File

@ -194,6 +194,26 @@ NameVirtualHost <%= @vhost_name %>:8081
CacheEnable disk "/rubygems"
ProxyPass "/rubygems/" "https://rubygems.org/" ttl=120 keepalive=On retry=0
ProxyPassReverse "/rubygems/" "https://rubygems.org/"
# opendaylight
CacheEnable disk "/opendaylight"
ProxyPass "/opendaylight/" "https://nexus.opendaylight.org/" ttl=120 keepalive=On retry=0
ProxyPassReverse "/opendaylight/" "https://nexus.opendaylight.org/"
# elastico
CacheEnable disk "/elastic"
ProxyPass "/elastic/" "https://packages.elastic.co/" ttl=120 keepalive=On retry=0
ProxyPassReverse "/elastic/" "https://packages.elastic.co/"
# grafana
CacheEnable disk "/grafana"
ProxyPass "/grafana" "https://packagecloud.io/grafana/" ttl=120 keepalive=On retry=0
ProxyPassReverse "/grafana/" "https://packagecloud.io/grafana/"
# 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/"
</VirtualHost>
<VirtualHost <%= @vhost_name %>:8081>