mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
add .git to denied folders in nginx
This commit is contained in:
parent
2ac8ed7411
commit
c03b041f40
@ -13,6 +13,11 @@ server {
|
||||
deny all;
|
||||
}
|
||||
|
||||
location ~ /\.git {
|
||||
return 404;
|
||||
deny all;
|
||||
}
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.php;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user