Disable these redirects for now until we can do a proper fix.
This commit is contained in:
parent
c729cb6441
commit
d722fa4122
1 changed files with 6 additions and 2 deletions
|
@ -84,8 +84,12 @@ Alias /packages "/mnt/koji/packages/"
|
|||
|
||||
# use redirects for compose and packages locations to be consistent with primary hub
|
||||
{% if inventory_hostname == 's390-koji01.qa.fedoraproject.org' %}
|
||||
RewriteRule ^/compose(.+) https://s390pkgs.fedoraproject.org/compose$1 [R=301,L]
|
||||
RewriteRule ^/packages(.+) https://s390pkgs.fedoraproject.org/packages$1 [R=301,L]
|
||||
#
|
||||
# Disable these for now since there's a cert issue and no virtual host definition to redirect to
|
||||
# We need to either add a apache virthost and a proper cert or a seperate vm for packages.
|
||||
#
|
||||
#RewriteRule ^/compose(.+) https://s390pkgs.fedoraproject.org/compose$1 [R=301,L]
|
||||
#RewriteRule ^/packages(.+) https://s390pkgs.fedoraproject.org/packages$1 [R=301,L]
|
||||
{% elif inventory_hostname == 'arm-koji01.qa.fedoraproject.org' %}
|
||||
RewriteRule ^/compose(.+) https://arm.fedoraproject.org/compose$1 [R=301,L]
|
||||
RewriteRule ^/packages(.+) https://arm.fedoraproject.org/packages$1 [R=301,L]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue