@cryptotaxi247 / infra-1 / commits / 7ff67ee7

nixos-org: add redirect to learn page

Redirect the old page name to the new one. Apply once https://github.com/NixOS/nixos-homepage/pull/318 has been merged.

zimbatm committed Nov 3, 2019 at 18:38 UTC 7ff67ee76e5ed96993701e122eb80388aea40e73
1 file changed +2
nixos-org/webserver.nix
+2
@@ -44,6 +44,8 @@ let
44 Redirect /releases/channels /channels
45 Redirect /tarballs http://tarballs.nixos.org
46 Redirect /releases/nixos https://releases.nixos.org/nixos
47 + # Added for https://github.com/NixOS/nixos-homepage/pull/318
48 + Redirect /nixos/support.html /nixos/learn.html
49
50 # Don't allow access to .git directories.
51 RewriteEngine on