diff --git a/roles/httpd/redirect/templates/redirect.copr.conf b/roles/httpd/redirect/templates/redirect.copr.conf index fbb1b96fa6..bf485617c4 100644 --- a/roles/httpd/redirect/templates/redirect.copr.conf +++ b/roles/httpd/redirect/templates/redirect.copr.conf @@ -1,3 +1,4 @@ RewriteEngine on RewriteCond %{REQUEST_URI} !^/api/* +RewriteCond %{REQUEST_URI} !^/api_2/* RewriteRule ^/(.*) https://copr.fedorainfracloud.org/$1 [L,R]