From b0c4ad0044f3ca9a28ef519ae7d61fdbd9a9647d Mon Sep 17 00:00:00 2001 From: filesite Date: Tue, 24 May 2022 10:16:11 +0800 Subject: [PATCH] nginx conf readme update --- www/content/Nginx.conf.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/www/content/Nginx.conf.md b/www/content/Nginx.conf.md index 8424ada..e85087a 100644 --- a/www/content/Nginx.conf.md +++ b/www/content/Nginx.conf.md @@ -29,6 +29,21 @@ Nginx config: deny all; } + # deny all md + location ~ \.md { + deny all; + } + + # deny all txt + location ~ \.txt { + deny all; + } + + # deny all url + location ~ \.url { + deny all; + } + # deny all hidden files location ~ /\. { deny all;