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

@ -33,7 +33,7 @@ server {
location = /robots.txt { access_log off; log_not_found off; }
location = /favicon.ico { access_log off; log_not_found off; }
location ~ /\. { access_log off; log_not_found off; deny all; }
location ~ /\.ht { access_log off; log_not_found off; deny all; }
location ~ ~$ { access_log off; log_not_found off; deny all; }
error_page 403 /error/404.html;