registry: handle stg redirect too

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2025-01-17 10:18:24 -08:00
parent 926b12b2a5
commit 719417e668

View file

@ -24,7 +24,7 @@ RewriteRule ^/v2/(.*)/blobs/([a-zA-Z0-9:]*) https://cdn.registry.fedoraproject.o
{% endif %}
# registry.fedoraproject.org web interface previously served by reg-server
RewriteCond %{HTTP_HOST} ^registry\.fedoraproject\.org$
RewriteCond %{HTTP_HOST} ^registry\{{env_suffix}}\.fedoraproject\.org$
RewriteRule ^(index\.html|repo(.)*)?$ https://quay.io/organization/fedora/ [R=301,L]
# This is terible, but Docker.