proxies: drop unneeded [OR]
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
713979b3a0
commit
84d985d2b9
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ ProxyPreserveHost On
|
||||||
|
|
||||||
|
|
||||||
{% if env == "production" %}
|
{% if env == "production" %}
|
||||||
RewriteCond %{HTTP:VIA} !cdn77 [OR]
|
RewriteCond %{HTTP:VIA} !cdn77
|
||||||
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)$
|
||||||
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]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue