Redirect registry /latest to /f27 for now
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
108f68c590
commit
299dae3384
1 changed files with 2 additions and 0 deletions
|
@ -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)$
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue