mediawiki: redirect old URLs

This commit is contained in:
Sandro - 2023-11-26 21:51:21 +01:00
parent 4ee5447414
commit 4682abeb7e
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 3 additions and 0 deletions

View File

@ -182,6 +182,9 @@ in
enableACME = true;
forceSSL = true;
listen = libC.defaultListen;
locations."/".extraConfig = lib.mkForce ''
return 307 /wiki$request_uri;
'';
};
};