mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-04 12:12:23 +08:00
koji-hub: only use seperate kojipkgs on primary not riscv
The riscv koji isn't using a seperate kojipkgs, so it's like staging and should just serve repos/etc by itself. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
@@ -86,7 +86,7 @@ Alias /kojira "/mnt/koji/kojira/"
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
{% if env == "production" %}
|
||||
{% if env == "production" and koji_instance == "primary" %}
|
||||
# use redirects for compose and packages locations
|
||||
RewriteRule ^/compose(.+) https://kojipkgs.fedoraproject.org/compose$1 [R=301,L]
|
||||
RewriteRule ^/packages(.+) https://kojipkgs.fedoraproject.org/packages$1 [R=301,L]
|
||||
|
||||
Reference in New Issue
Block a user