diff --git a/roles/httpd/reverseproxy/templates/reversepassproxy.registry.conf b/roles/httpd/reverseproxy/templates/reversepassproxy.registry.conf index 67a36f56ef..4b65819173 100644 --- a/roles/httpd/reverseproxy/templates/reversepassproxy.registry.conf +++ b/roles/httpd/reverseproxy/templates/reversepassproxy.registry.conf @@ -6,6 +6,8 @@ ProxyPreserveHost On RewriteEngine on RewriteRule ^/signatures/(.*) /srv/web/registry-signatures/$1 [L] +RewriteRule ^/v2/latest/(.*) /v2/f27/$1 [R,L] + {% if env == "production" %} RewriteCond %{HTTP:VIA} !cdn77 RewriteCond %{REQUEST_METHOD} !^(PATCH|POST|PUT|DELETE|HEAD)$