From: Hypolite Petovan Date: Mon, 7 Sep 2020 09:51:58 +0000 (-0400) Subject: Update nginx sample config with location deny for bin/ folder X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ae045eff41f2199a631a46f2dc265f3786406dda;p=friendica.git Update nginx sample config with location deny for bin/ folder --- 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; + } }