diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2023-11-25 01:47:42 +0100 |
---|---|---|
committer | Jörg Thalheim <Mic92@users.noreply.github.com> | 2023-11-26 19:59:32 +0100 |
commit | 8ae9c8640cec51fcfa76b07f8cce2280716b72ce (patch) | |
tree | ff1392cf290fe7224132e111b11e47a880b7a3d0 | |
parent | f68be841c978199d710aa0e10d68efa5818027e4 (diff) |
nixos/mediawiki: don't assume language of main page
The mainpage might be named Hauptseite and mediawiki redirects from /wiki/ on its own to there
-rw-r--r-- | nixos/modules/services/web-apps/mediawiki.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/web-apps/mediawiki.nix b/nixos/modules/services/web-apps/mediawiki.nix index e3412926f8b3e..e2fd6845e48a1 100644 --- a/nixos/modules/services/web-apps/mediawiki.nix +++ b/nixos/modules/services/web-apps/mediawiki.nix @@ -572,7 +572,7 @@ in # Explicit access to the root website, redirect to main page (adapt as needed) "= /".extraConfig = '' - return 301 /wiki/Main_Page; + return 301 /wiki/; ''; # Every other entry point will be disallowed. |