commit a74e3dd1933947a6b6abc24ab1cc7da9e06efe3e
Author: Adrian Reber <adrian(a)lisas.de>
Date: Mon Sep 7 14:42:49 2020 +0200
Also handle branched and rawhide for mirrorlist rewrites
Signed-off-by: Adrian Reber <adrian(a)lisas.de>
.../files/mirrorlist-server.common | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/roles/mirrormanager/mirrorlist-server/files/mirrorlist-server.common
b/roles/mirrormanager/mirrorlist-server/files/mirrorlist-server.common
index fb136c6..be47c55 100644
--- a/roles/mirrormanager/mirrorlist-server/files/mirrorlist-server.common
+++ b/roles/mirrormanager/mirrorlist-server/files/mirrorlist-server.common
@@ -10,7 +10,7 @@ RewriteRule ^/(free|nonfree)/(fedora|el)/updates/([^/]+)/([^/]+)/?$
http://mirro
RewriteRule ^/(free|nonfree)/(fedora|el)/(rawhide|development)/([^/]+)/?$
http://mirrors.rpmfusion.org/mirrorlist?repo=$1-$2-rawhide&arch=$4 [R=301,last]
RewriteRule ^/(free|nonfree)/(fedora|el)/([^/]+)/([^/]+)/?$
http://mirrors.rpmfusion.org/mirrorlist?repo=$1-$2-$3&arch=$4 [R=301,last]
-RewriteRule
^/(free|nonfree)/(fedora|el)/rpmfusion-(free|nonfree)-release-(\d{1,2}).noarch.rpm
https://mirrors.rpmfusion.org/mirrorlist?path=$1/$2/rpmfusion-$3-release-...
[P]
+RewriteRule
^/(free|nonfree)/(fedora|el)/rpmfusion-(free|nonfree)-release-(\d{1,2}|branched|rawhide).noarch.rpm
https://mirrors.rpmfusion.org/mirrorlist?path=$1/$2/rpmfusion-$3-release-...
[P]
RewriteCond %{HTTPS} !=on
RewriteCond %{REQUEST_URI} ^/statistics(.*)