Message ID | 87pmdglg9b.fsf@gnu.org |
---|---|
State | New |
Headers | show |
Series | [bug#59385] website: Link to the new packages browser | expand |
Ludovic Courtès <ludo@gnu.org> skribis:
> Maybe we can add a redirect from <https://guix.gnu.org/en/packages>
Done in maintenance commit e97f78bd61fd4e0c54607861360b18c2a5681131, now
deployed on berlin and bayfront (the web site is currently on the
latter).
Ludo’.
diff --git a/hydra/modules/sysadmin/nginx.scm b/hydra/modules/sysadmin/nginx.scm index 3c3456d..0a8b1a8 100644 --- a/hydra/modules/sysadmin/nginx.scm +++ b/hydra/modules/sysadmin/nginx.scm @@ -75,6 +75,13 @@ synonymous IETF language tags that should be mapped to the same $lang." (define guix.gnu.org-redirect-locations (list + (nginx-location-configuration + (uri "~ /packages/.*") + (body (list "return 301 https://packages.guix.gnu.org"))) + (nginx-location-configuration + (uri "~ /([^/]+)/packages/.*") + (body (list "return 301 https://packages.guix.gnu.org"))) + ;; Short URL for the installation script (redirect "/install.sh" "https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh") ;; What follows is a list of redirects for URLs that used to be