On Mon, Mar 19, 2018 at 11:28:45AM -0700, Kevin Fenzi wrote: > 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> +1 for me Pierre
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx