Blocking in nginx .env

This commit is contained in:
myvesta 2022-03-30 14:12:30 +02:00
commit 3cf64450a2
137 changed files with 252 additions and 137 deletions

View file

@ -24,7 +24,8 @@ server {
proxy_pass https://%ip%:%web_ssl_port%;
}
location ~ /\. {return 404;}
location ~ /\.ht {return 404;}
location ~ /\.env {return 404;}
location ~ /\.svn/ {return 404;}
location ~ /\.git/ {return 404;}
location ~ /\.hg/ {return 404;}