mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
Reverting blocking in nginx everything that begins with dot
This commit is contained in:
parent
ebb6b54065
commit
355ae01222
120 changed files with 218 additions and 120 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue