add .git exemp
This commit is contained in:
1 parent
2b720a2ce1
commit
d6734adc45
1 file changed
+6
@@ -130,6 +130,12 @@ server {
|
|||||||
return 403;
|
return 403;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Interdire l'accès à tout dossier ou fichier .git
|
||||||
|
location ~ /\.git {
|
||||||
|
deny all;
|
||||||
|
return 404;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user