Update default.conf

Add a Rule to Deny Access to the .git Directory
This commit is contained in:
kasun authored and GitHub committed 2024-06-17 09:28:43 +05:30
1 parent 7f67a502f6
commit 48aa69bfc9
1 file changed
+4
+4
View File
@@ -38,4 +38,8 @@ server {
location ~ /\.ht {
deny all;
}
location ~ /\.git {
deny all;
}
}