openstack-ansible-repo_server/templates
Jesse Pretorius 09a058f3f7 Use correct protocol for pypi reverse proxy
When reverse proxying pypi the current implementation uses
https to communicate upstream. This works just fine if the
upstream pypi server is serving data via https, but causes
the handshake to fail if the upstream pypi server is serving
via http instead.

This patch implements a check to validate the upstream pypi
server port set and adapts the reverse proxy configuration
appropriately.

Change-Id: I1a986fef5bf1e069212bc432c3a775be15df11ef
Implements: blueprint python-build-install-simplification
Signed-off-by: Jesse Pretorius <jesse.pretorius@rackspace.co.uk>
2018-03-11 09:54:07 +00:00
..
acng.conf.j2 Escape periods in DontCache regex 2017-07-21 08:01:47 -05:00
git.service.j2 Fix apt-cacher-ng file owners during rsync 2016-12-19 18:48:53 -06:00
git.socket.j2 Updated role for multi-distro support 2016-05-13 10:48:57 +00:00
lsyncd.defaults.j2 Add LSYNCD_OPTIONS for CentOS 2017-05-10 19:20:05 -04:00
lsyncd.lua.j2 Fix apt-cacher-ng file owners during rsync 2016-12-19 18:48:53 -06:00
nginx-pypi.conf.j2 Allow the upstream pypi mirror to be changed 2017-12-04 11:11:10 +00:00
nginx.conf.j2 Cap the number of worker threads 2017-02-23 05:45:07 -05:00
openstack-slushee.vhost.j2 Use correct protocol for pypi reverse proxy 2018-03-11 09:54:07 +00:00
pypiserver-systemd-init.j2 Implement pypiserver and pypi proxy cache 2017-11-24 11:58:18 +00:00
repo_prepost_cmd.sh.j2 Reload nginx during syncs 2017-11-21 08:06:11 +00:00
rsyncd.conf.j2 first commit 2015-12-09 09:25:37 -06:00