]> git.mxchange.org Git - friendica.git/commitdiff
Update nginx sample config with location deny for bin/ folder
authorHypolite Petovan <hypolite@mrpetovan.com>
Mon, 7 Sep 2020 09:51:58 +0000 (05:51 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Mon, 7 Sep 2020 09:51:58 +0000 (05:51 -0400)
mods/sample-nginx.config

index 71d37855169c39a41f1685b5da4dc160c21c8572..b90e1fe29f710e011ee9681140fa0d5d77358775 100644 (file)
@@ -141,4 +141,9 @@ server {
   location ~ /\. {
     deny all;
   }
+
+  # deny access to the CLI scripts
+  location ^~ /bin {
+    deny all;
+  }
 }