From 1880d233246d8e441563290157571f6a6b00527c Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Tue, 24 Sep 2024 16:40:37 -0700 Subject: [PATCH] odcs: put in a redirectmatch for old mock baseurls Signed-off-by: Kevin Fenzi --- playbooks/include/proxies-redirects.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/playbooks/include/proxies-redirects.yml b/playbooks/include/proxies-redirects.yml index 2a29c26cc6..37bf7e45fe 100644 --- a/playbooks/include/proxies-redirects.yml +++ b/playbooks/include/proxies-redirects.yml @@ -901,3 +901,11 @@ target: https://dl.fedoraproject.org/pub/eln/1/ tags: - odcs + + - role: httpd/redirectmatch + shortname: 00-old-odcs-repo + website: odcs.fedoraproject.org + regex: ^/composes/production/latest-Fedora-ELN/compose/(.*) + target: https://dl.fedoraproject.org/pub/eln/1/($1) + tags: + - odcs