governance.o.o: add redirect for badges

Badges are published under /srv/static/tc, and links pointing to
http://governance.openstack.org/badges were created everywhere.
In order to avoid breaking those links when we switch the docroot,
create an additional redirect for the /badges/ subdirectory.

Change-Id: Id2eb469cd1be16da04e73a752aa586a58330499c
This commit is contained in:
Thierry Carrez 2016-12-08 11:40:00 +01:00
parent c95d0e59e0
commit 3df19676f8

View File

@ -273,6 +273,7 @@ class openstack_project::static (
}
# Extra redirects needed for vhost template:
$governance_redirects = {
'/badges/' => '/tc/badges/',
'/goals/' => '/tc/goals/',
'/reference/' => '/tc/reference/',
'/resolutions/' => '/tc/resolutions/',