From 0fbd4bf1be98775da308bd1629de77d4103b5396 Mon Sep 17 00:00:00 2001 From: slawkens Date: Thu, 24 Apr 2025 13:44:38 +0200 Subject: [PATCH] nginx: block additionally *.sql --- nginx-sample.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx-sample.conf b/nginx-sample.conf index bb107f02..c0cfa367 100644 --- a/nginx-sample.conf +++ b/nginx-sample.conf @@ -14,7 +14,7 @@ server { # block .htaccess, CHANGELOG.md, composer.json etc. # this is to prevent finding software versions - location ~\.(ht|md|json|dist)$ { + location ~\.(ht|md|json|dist|sql)$ { deny all; }