From ce5874cba34d4095453f5e4a4cebbaac844f7070 Mon Sep 17 00:00:00 2001 From: Mohammed Naser Date: Wed, 12 Sep 2018 11:44:55 -0600 Subject: [PATCH] Add LXC COPR cache OpenStack Ansible uses this repo to install LXC on CentOS as they do not ship with the distribution packages. They're not so reliable so its' good to get them monitored. Change-Id: I011c7a0455e4853e582ed437204e94b6bcc73b3f --- modules/openstack_project/templates/mirror.vhost.erb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/openstack_project/templates/mirror.vhost.erb b/modules/openstack_project/templates/mirror.vhost.erb index 1d736b0598..bf8187f34f 100644 --- a/modules/openstack_project/templates/mirror.vhost.erb +++ b/modules/openstack_project/templates/mirror.vhost.erb @@ -270,6 +270,11 @@ LogFormat "%h %l %u %t \"%r\" %>s %b %{cache-status}e \"%{Referer}i\" \"%{User-a ProxyPass "/alpine/" "http://dl-cdn.alpinelinux.org/alpine/" ttl=120 keepalive=On retry=0 ProxyPassReverse "/alpine/" "http://dl-cdn.alpinelinux.org/alpine/" + # LXC (copr) + CacheEnable disk "/copr-lxc2" + ProxyPass "/copr-lxc2/" "https://copr-be.cloud.fedoraproject.org/results/thm/lxc2.0/" ttl=120 keepalive=On retry=0 + ProxyPassReverse "/copr-lxc2/" "https://copr-be.cloud.fedoraproject.org/results/thm/lxc2.0/" + :8081>