diff --git a/modules/openstack_project/templates/mirror.vhost.erb b/modules/openstack_project/templates/mirror.vhost.erb index 989ddc6027..220aecf4fb 100644 --- a/modules/openstack_project/templates/mirror.vhost.erb +++ b/modules/openstack_project/templates/mirror.vhost.erb @@ -134,6 +134,11 @@ NameVirtualHost <%= @vhost_name %>:8081 CacheEnable disk "/tarballs" ProxyPass "/tarballs/" "https://tarballs.openstack.org/" ProxyPassReverse "/tarballs/" "https://tarballs.openstack.org/" + + # pypi + CacheEnable disk "/pypi" + ProxyPass "/pypi/" "http://mirror.dfw.rax.openstack.org/pypi/" + ProxyPassReverse "/pypi/" "http://mirror.dfw.rax.openstack.org/pypi/" :8081>