From 3d160f64fd5fa3fca970e1f27595e8ba2c199199 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Mon, 17 Aug 2015 15:59:55 +0000 Subject: [PATCH] And a redirect for the api_version endpoint. --- playbooks/include/proxies-redirects.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/playbooks/include/proxies-redirects.yml b/playbooks/include/proxies-redirects.yml index 1bb048dc4a..c95b6644b8 100644 --- a/playbooks/include/proxies-redirects.yml +++ b/playbooks/include/proxies-redirects.yml @@ -91,6 +91,13 @@ target: https://bodhi.stg.fedoraproject.org/updates/new when: env == 'staging' + - role: httpd/redirectmatch + name: 05-bodhi2-api-version + website: admin.fedoraproject.org + regex: /updates/api_version$ + target: https://bodhi.stg.fedoraproject.org/api_version + when: env == 'staging' + - role: httpd/redirectmatch name: 90-bodhi2-cutover-updates website: admin.fedoraproject.org