[Top][All Lists]

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

[bug#49431] [PATCH maintenance.git] nginx: berlin: Redirect old video UR

From: pelzflorian (Florian Pelz)
Subject: [bug#49431] [PATCH maintenance.git] nginx: berlin: Redirect old video URLs for each language.
Date: Tue, 6 Jul 2021 08:53:04 +0200

Hi guix,

a week ago Luis nicely redesigned how videos are displayed on the Guix
(Because the old CSS stylesheets are cached by the browser, the
website displayed videos wrongly for a day though.)

This patch adds redirects for the guix website from the old video URLs


to the new


but maybe the patch is too ugly because that’s code duplication to
have three added redirections for each video.  Note that my old
videos page actually linked to
</LANG/videos/everyday-use-of-gnu-guix,-part-one/index.html> and not
</LANG/videos/everyday-use-of-gnu-guix,-part-one/> as usual.

Shall I push it as-is to guix/maintenance.git,

or do you think it would be better to rewrite the redirect procedure
to return a list to redirect every URL with suffixes


and change accordingly to flatten the location

The patch was tested on a VM of berlin.scm with some services, file
systems and SSL removed and I’m confident it does what it should.


Attachment: nginx-berlin-Redirect-old-video-URLs-for-each-language.patch
Description: Text document

reply via email to

[Prev in Thread] Current Thread [Next in Thread]