Freeze Break Request: Make pkgs redirect more general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greetings.

I'd like to apply the following ansible patch and run the pkgs playbook.

This will make our pkgs redirect handle redirecting more than / and keep
links in bugs alive pointing to the new location.

See ticket: https://pagure.io/fedora-infrastructure/issue/6785 for more
details.

+1s?

kevin
--
diff --git a/roles/distgit/templates/lookaside-upload.conf
b/roles/distgit/templates/lookaside-upload.conf
index dc2b882..716a166 100644
--- a/roles/distgit/templates/lookaside-upload.conf
+++ b/roles/distgit/templates/lookaside-upload.conf
@@ -39,7 +39,7 @@ Alias /robots.txt /var/www/robots-src.txt
     </Location>

     RewriteEngine on
-    RewriteRule "^/$" "https://src{{ env_suffix }}.fedoraproject.org/"
+    RewriteRule "^/(.*)$" "https://src{{ env_suffix
}}.fedoraproject.org/$1"
     RewriteRule "^/login/$" "https://src{{ env_suffix
}}.fedoraproject.org/login/"
 </VirtualHost>


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux