copr-fe: meh, fixup redirect to fedorainfracloud
This commit is contained in:
parent
4ddd100f98
commit
b0630225e5
1 changed files with 8 additions and 4 deletions
|
@ -45,10 +45,6 @@ WSGIApplicationGroup %{GLOBAL}
|
|||
|
||||
<VirtualHost *:443>
|
||||
ServerName {{ copr_frontend_public_hostname }}
|
||||
{% if not devel %}
|
||||
ServerAlias copr.fedoraproject.org
|
||||
Redirect 302 / https://copr.fedorainfracloud.org/
|
||||
{% endif %}
|
||||
|
||||
SSLEngine on
|
||||
SSLProtocol {{ ssl_protocols }}
|
||||
|
@ -116,6 +112,14 @@ 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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue