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
This commit is contained in:
Clark Boylan 2018-06-26 10:38:26 -07:00
parent 2a381e5615
commit b051e6ef88
1 changed files with 2 additions and 2 deletions

View File

@ -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/"
</VirtualHost>
<VirtualHost <%= @vhost_name %>:8081>