Try a fix for ticket 5276
This commit is contained in:
parent
d3697b393f
commit
ab4ec2c779
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ Alias /buildgroups "/mnt/koji/buildgroups/"
|
|||
Require all granted
|
||||
</Directory>
|
||||
|
||||
{% if inventory_hostname.startswith('koji') %}
|
||||
{% if inventory_hostname.startswith('koji') and env == "production" %}
|
||||
# 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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue