mirror of
https://github.com/darksaid98/ptero-nginx-egg.git
synced 2026-12-01 14:38:51 +00:00
Update default.conf
Add a Rule to Deny Access to the .git Directory
This commit is contained in:
1 parent
7f67a502f6
commit
48aa69bfc9
1 file changed
+4
@@ -38,4 +38,8 @@ server {
|
||||
location ~ /\.ht {
|
||||
deny all;
|
||||
}
|
||||
|
||||
location ~ /\.git {
|
||||
deny all;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user