copr-fe: don't redirect on copr side

This redirect is automatically handled by proxies, see
playbooks/include/proxies-redirects.yml
This commit is contained in:
Pavel Raiskup 2022-02-21 07:13:55 +01:00
parent b639c80e35
commit cb2abaddcb

View file

@ -124,14 +124,6 @@ WSGIApplicationGroup %{GLOBAL}
RewriteRule ^/coprs/g/([^/]*)/([^/]*)/repo/epel-(.*)-(.*)/(.*)$ /coprs/g/$1/$2/repo/epel-$3/$5 [PT]
</VirtualHost>
{% if not devel %}
<VirtualHost *:443>
# redirect *.fedoraproject.org to *.fedorainfracloud.org
ServerAlias copr.fedoraproject.org
Redirect 302 / https://copr.fedorainfracloud.org/
</VirtualHost>
{% endif %}
<IfModule mod_status.c>
ExtendedStatus On
<Location /server-status>