From cb2abaddcba484069f077a7eee4490db5722c876 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Mon, 21 Feb 2022 07:13:55 +0100 Subject: [PATCH] copr-fe: don't redirect on copr side This redirect is automatically handled by proxies, see playbooks/include/proxies-redirects.yml --- roles/copr/frontend/templates/httpd/coprs.conf | 8 -------- 1 file changed, 8 deletions(-) diff --git a/roles/copr/frontend/templates/httpd/coprs.conf b/roles/copr/frontend/templates/httpd/coprs.conf index 096be19b6e..c159da3d09 100644 --- a/roles/copr/frontend/templates/httpd/coprs.conf +++ b/roles/copr/frontend/templates/httpd/coprs.conf @@ -124,14 +124,6 @@ WSGIApplicationGroup %{GLOBAL} RewriteRule ^/coprs/g/([^/]*)/([^/]*)/repo/epel-(.*)-(.*)/(.*)$ /coprs/g/$1/$2/repo/epel-$3/$5 [PT] -{% if not devel %} - - # redirect *.fedoraproject.org to *.fedorainfracloud.org - ServerAlias copr.fedoraproject.org - Redirect 302 / https://copr.fedorainfracloud.org/ - -{% endif %} - ExtendedStatus On