From ab1674315205f349a2830c1118e99f55c4953d4d Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Fri, 21 Aug 2015 03:40:15 +0000 Subject: [PATCH] Drop trailing slash on some bodhi2 URLs. --- playbooks/include/proxies-redirects.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/playbooks/include/proxies-redirects.yml b/playbooks/include/proxies-redirects.yml index 6ff21f128f..a9a2d9cdb1 100644 --- a/playbooks/include/proxies-redirects.yml +++ b/playbooks/include/proxies-redirects.yml @@ -110,6 +110,12 @@ regex: /updates/search/(.+)$ target: https://bodhi.fedoraproject.org/updates/?like=$1 + - role: httpd/redirectmatch + name: 10-bodhi2-drop-trailing-slash + website: bodhi.fedoraproject.org + regex: /updates/(.+)/$ + target: https://bodhi.fedoraproject.org/updates/$1 + - role: httpd/redirectmatch name: 89-bodhi2-icon website: admin.fedoraproject.org