diff --git a/docker/nginx/templates/default.conf.template b/docker/nginx/templates/default.conf.template index 13b1e44..28c0393 100644 --- a/docker/nginx/templates/default.conf.template +++ b/docker/nginx/templates/default.conf.template @@ -34,6 +34,12 @@ server { deny all; } + location ~* ^/(bitrix|local)/.*?/\.default/ { + try_files $uri $uri/ =404; + access_log off; + log_not_found off; + } + location ~* /\.(?!well-known/) { deny all; }