From 84d666038cee11666b4c212c7f845804ef803899 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Mon, 25 Jun 2018 09:32:29 -0700 Subject: [PATCH] Add missing / to mariadb proxy cache config The reverse proxy pass rewrite of urls means that we need to have a trailing / otherwise the urls get rewritten with a / resulting in invalid paths. Change-Id: Idc2fb6d251456f0e839385652041f05846cd3540 --- modules/openstack_project/templates/mirror.vhost.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/openstack_project/templates/mirror.vhost.erb b/modules/openstack_project/templates/mirror.vhost.erb index f1067457e8..b7f88fb890 100644 --- a/modules/openstack_project/templates/mirror.vhost.erb +++ b/modules/openstack_project/templates/mirror.vhost.erb @@ -214,7 +214,7 @@ LogFormat "%h %l %u %t \"%r\" %>s %b %{cache-status}e \"%{Referer}i\" \"%{User-a # MariaDB CacheEnable disk "/mariadb" ProxyPass "/mariadb/" "https://downloads.mariadb.org/" ttl=120 keepalive=On retry=0 - ProxyPassReverse "/mariadb" "https://downloads.mariadb.org/" + ProxyPassReverse "/mariadb/" "https://downloads.mariadb.org/" :8081>