deny .git

This commit is contained in:
Christoph Haas 2019-01-02 12:05:34 +01:00
parent fa0516327e
commit b578e567ac
1 changed files with 4 additions and 0 deletions

View File

@ -26,6 +26,10 @@ server {
deny all;
}
location ~ /\.git {
deny all;
}
location /.well-known/acme-challenge/ {
root /var/www/letsencrypt/;
log_not_found off;