From 5413a21d785d113279dc04264f0f1dd4a1ac6012 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 22 Sep 2021 11:54:21 -0700 Subject: [PATCH] proxies: redirect old packages to new The old packages app (which was before that the old community app) lived on https://apps.fedoraproject.org/packages/ It hasn't been active there since the datacenter move last year (we retired it). A new openshift app has been created that lives on https://packages.fedoraproject.org now. We want to redirect the old path to the new one and remove the old reverseproxy to nowhere. Fixes infra ticket #10212 Signed-off-by: Kevin Fenzi --- playbooks/include/proxies-redirects.yml | 6 ++++++ playbooks/include/proxies-reverseproxy.yml | 7 ------- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/playbooks/include/proxies-redirects.yml b/playbooks/include/proxies-redirects.yml index db08129274..6747dc581f 100644 --- a/playbooks/include/proxies-redirects.yml +++ b/playbooks/include/proxies-redirects.yml @@ -39,6 +39,12 @@ path: /community target: https://apps.fedoraproject.org/packages + - role: httpd/redirect + shortname: packages + website: apps.fedoraproject.org + path: /packages + target: https://packages.fedoraproject.org/ + - role: httpd/redirect shortname: koschei website: apps.fedoraproject.org diff --git a/playbooks/include/proxies-reverseproxy.yml b/playbooks/include/proxies-reverseproxy.yml index a2e0788cd4..420f97be56 100644 --- a/playbooks/include/proxies-reverseproxy.yml +++ b/playbooks/include/proxies-reverseproxy.yml @@ -127,13 +127,6 @@ header_scheme: true proxyurl: http://localhost:10036 - - role: httpd/reverseproxy - website: apps.fedoraproject.org - destname: packages - localpath: /packages - remotepath: /packages - proxyurl: http://localhost:10016 - - role: httpd/reverseproxy website: ask.fedoraproject.org destname: askbot