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
This commit is contained in:
Clark Boylan 2018-06-25 09:32:29 -07:00
parent e4e59f1e62
commit 84d666038c

View File

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