X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mods%2Fsample-nginx.config;h=b90e1fe29f710e011ee9681140fa0d5d77358775;hb=9684ce4eb513bcefc89640acc70cd9d4c6d7c03b;hp=71d37855169c39a41f1685b5da4dc160c21c8572;hpb=fabc90e9dd5f1c4280a9bfa6c6930a3fc985f87a;p=friendica.git diff --git a/mods/sample-nginx.config b/mods/sample-nginx.config index 71d3785516..b90e1fe29f 100644 --- a/mods/sample-nginx.config +++ b/mods/sample-nginx.config @@ -141,4 +141,9 @@ server { location ~ /\. { deny all; } + + # deny access to the CLI scripts + location ^~ /bin { + deny all; + } }