about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2023-11-25 01:47:42 +0100
committerJörg Thalheim <Mic92@users.noreply.github.com>2023-11-26 19:59:32 +0100
commit8ae9c8640cec51fcfa76b07f8cce2280716b72ce (patch)
treeff1392cf290fe7224132e111b11e47a880b7a3d0 /nixos
parentf68be841c978199d710aa0e10d68efa5818027e4 (diff)
downloadnixlib-8ae9c8640cec51fcfa76b07f8cce2280716b72ce.tar
nixlib-8ae9c8640cec51fcfa76b07f8cce2280716b72ce.tar.gz
nixlib-8ae9c8640cec51fcfa76b07f8cce2280716b72ce.tar.bz2
nixlib-8ae9c8640cec51fcfa76b07f8cce2280716b72ce.tar.lz
nixlib-8ae9c8640cec51fcfa76b07f8cce2280716b72ce.tar.xz
nixlib-8ae9c8640cec51fcfa76b07f8cce2280716b72ce.tar.zst
nixlib-8ae9c8640cec51fcfa76b07f8cce2280716b72ce.zip
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
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/web-apps/mediawiki.nix2
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 e3412926f8b3..e2fd6845e48a 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.