From b051e6ef88009e93063159925783b5ac1f16f56b Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Tue, 26 Jun 2018 10:38:26 -0700 Subject: [PATCH] Fix trailing slashes on mariadb caching proxy These trailing slashes matter when lining up what we are proxying from and too and back again. Otherwise we rewrite urls to the backend and then from backend up to frontend again incorrectly. Change-Id: Ifda8d156a00207e17b49dfa04033749216e2ed4a --- modules/openstack_project/templates/mirror.vhost.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/openstack_project/templates/mirror.vhost.erb b/modules/openstack_project/templates/mirror.vhost.erb index 436619388a..4f0f774d9c 100644 --- a/modules/openstack_project/templates/mirror.vhost.erb +++ b/modules/openstack_project/templates/mirror.vhost.erb @@ -213,8 +213,8 @@ LogFormat "%h %l %u %t \"%r\" %>s %b %{cache-status}e \"%{Referer}i\" \"%{User-a # MariaDB CacheEnable disk "/MariaDB" - ProxyPass "/MariaDB/" "https://downloads.mariadb.com/MariaDB" ttl=120 keepalive=On retry=0 - ProxyPassReverse "/MariaDB/" "https://downloads.mariadb.com/MariaDB" + ProxyPass "/MariaDB/" "https://downloads.mariadb.com/MariaDB/" ttl=120 keepalive=On retry=0 + ProxyPassReverse "/MariaDB/" "https://downloads.mariadb.com/MariaDB/" :8081>