deny .git
This commit is contained in:
parent
fa0516327e
commit
b578e567ac
@ -26,6 +26,10 @@ server {
|
||||
deny all;
|
||||
}
|
||||
|
||||
location ~ /\.git {
|
||||
deny all;
|
||||
}
|
||||
|
||||
location /.well-known/acme-challenge/ {
|
||||
root /var/www/letsencrypt/;
|
||||
log_not_found off;
|
||||
|
Loading…
Reference in New Issue
Block a user