From 087335ab9081b619f70e0d8033f9742fd6bf4bb7 Mon Sep 17 00:00:00 2001 From: Father1993 Date: Tue, 7 Jul 2026 17:00:53 +1000 Subject: [PATCH] feat(nginx): allow access to .default directory files --- docker/nginx/templates/default.conf.template | 6 ++++++ 1 file changed, 6 insertions(+) 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; }