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;