add .git exemp

This commit is contained in:
voxan committed 2026-10-21 22:23:43 +02:00
1 parent 2b720a2ce1
commit d6734adc45
1 file changed
+6
+6
View File
@@ -130,6 +130,12 @@ server {
return 403;
}
}
# Interdire l'accès à tout dossier ou fichier .git
location ~ /\.git {
deny all;
return 404;
}
}
EOF