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
This commit is contained in:
Sandro Jäckel 2023-11-25 01:47:42 +01:00 committed by Jörg Thalheim
parent f68be841c9
commit 8ae9c8640c

View file

@ -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.