kpp: add redirect

This commit is contained in:
Rouven Seifert 2023-08-29 12:29:22 +02:00
parent 1a47ab4e52
commit 5ee9193a23
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09

View file

@ -62,6 +62,7 @@ in
}; };
"~ ^/cmd(/?[^\\n|\\r]*)$".return = "301 https://pad.ifsr.de$1"; "~ ^/cmd(/?[^\\n|\\r]*)$".return = "301 https://pad.ifsr.de$1";
"/bbb".return = "301 https://bbb.tu-dresden.de/b/fsr-58o-tmf-yy6"; "/bbb".return = "301 https://bbb.tu-dresden.de/b/fsr-58o-tmf-yy6";
"/kpp".return = "301 https://kpp.ifsr.de";
# security # security
"~* /(\.git|cache|bin|logs|backup|tests)/.*$".return = "403"; "~* /(\.git|cache|bin|logs|backup|tests)/.*$".return = "403";
# deny running scripts inside core system folders # deny running scripts inside core system folders