More flexible regex
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
aa1514ea24
commit
e1601ca869
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ RequestHeader set X-Forwarded-Proto https early
|
|||
ProxyPreserveHost On
|
||||
|
||||
RewriteCond %{HTTP:VIA} !cdn77
|
||||
RewriteRule ^/v2/([a-zA-Z]*)/blobs/([a-zA-Z]*) 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]
|
||||
|
||||
# This is terible, but Docker.
|
||||
RewriteEngine on
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue