Reverting blocking in nginx everything that begins with dot

This commit is contained in:
myvesta 2022-03-30 13:50:29 +02:00
commit 355ae01222
120 changed files with 218 additions and 120 deletions

View file

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