wiki: add redirects
This commit is contained in:
parent
d188722565
commit
6500dd04b6
|
@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue