diff --git a/playbooks/include/proxies-redirects.yml b/playbooks/include/proxies-redirects.yml index 71c2decd0d..54a73895be 100644 --- a/playbooks/include/proxies-redirects.yml +++ b/playbooks/include/proxies-redirects.yml @@ -64,7 +64,24 @@ name: 01-bodhi2-cutover-comments-list website: admin.fedoraproject.org regex: /updates/comments$ - target: https://bodhi.stg.fedoraproject.org/comments + target: https://bodhi.stg.fedoraproject.org/comments/ + when: env == 'staging' + + # This one is sub-optimal, but we have no way to map /mine to /$username + - role: httpd/redirectmatch + name: 02-bodhi2-mine-fallback + website: admin.fedoraproject.org + regex: /updates/mine$ + target: https://bodhi.stg.fedoraproject.org/ + when: env == 'staging' + + # This is similar to /mine. Ideally, we would redirect to + # /overrides/?user=$USERNAME, but we can't get that username afaik. + - role: httpd/redirectmatch + name: 03-bodhi2-cutover-overrides-list + website: admin.fedoraproject.org + regex: /updates/override/list$ + target: https://bodhi.stg.fedoraproject.org/overrides/ when: env == 'staging' - role: httpd/redirectmatch