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:
parent
f68be841c9
commit
8ae9c8640c
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue