wiki: add redirects

This commit is contained in:
Rouven Seifert 2023-08-22 16:29:09 +02:00
parent d188722565
commit 6500dd04b6
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09

View file

@ -102,6 +102,8 @@ in
proxyPass = "http://127.0.0.1:${toString listenPort}"; proxyPass = "http://127.0.0.1:${toString listenPort}";
proxyWebsockets = true; proxyWebsockets = true;
}; };
locations."~ ^/ese/([^\\n|\\r]*)$".return = "301 https://wiki.ese.ifsr.de/$1";
locations."~ ^/fsr/([^\\n|\\r]*)$".return = "301 https://wiki.ifsr.de/$1";
}; };
}; };
}; };