diff --git a/roles/koji_hub/templates/kojiweb.conf.j2 b/roles/koji_hub/templates/kojiweb.conf.j2 index 40c9c0f9eb..dc69b27838 100644 --- a/roles/koji_hub/templates/kojiweb.conf.j2 +++ b/roles/koji_hub/templates/kojiweb.conf.j2 @@ -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]