osbs: OSBS does not use the cdn to pull images
Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
parent
ec2ab980a5
commit
5c5ee0776e
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@ RewriteCond %{HTTP:VIA} !cdn77
|
||||||
RewriteCond %{HTTP:VIA} !cloudfront
|
RewriteCond %{HTTP:VIA} !cloudfront
|
||||||
RewriteCond %{SERVER_NAME} !^registry-no-cdn\.fedoraproject.org$
|
RewriteCond %{SERVER_NAME} !^registry-no-cdn\.fedoraproject.org$
|
||||||
RewriteCond %{REQUEST_METHOD} !^(PATCH|POST|PUT|DELETE|HEAD)$
|
RewriteCond %{REQUEST_METHOD} !^(PATCH|POST|PUT|DELETE|HEAD)$
|
||||||
|
RewriteCond %{REMOTE_HOST} ^osbs-*$
|
||||||
RewriteRule ^/v2/(.*)/blobs/([a-zA-Z0-9:]*) https://cdn.registry.fedoraproject.org/v2/$1/blobs/$2 [R]
|
RewriteRule ^/v2/(.*)/blobs/([a-zA-Z0-9:]*) https://cdn.registry.fedoraproject.org/v2/$1/blobs/$2 [R]
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue