website: pad: redirect legacy codimd pads
This commit is contained in:
parent
df7e657782
commit
d669f15c49
|
@ -60,6 +60,7 @@ in
|
|||
fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
|
||||
'';
|
||||
};
|
||||
"~ ^/cmd/([^\\n|\\r]*)$".return = "301 https://pad.ifsr.de/$1";
|
||||
# security
|
||||
"~* /(\.git|cache|bin|logs|backup|tests)/.*$".return = "403";
|
||||
# deny running scripts inside core system folders
|
||||
|
|
Loading…
Reference in a new issue