From 1d24f3625a5b93ebafe030c0179c458bf78a9ca3 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Thu, 21 Aug 2025 17:28:07 +0300 Subject: [PATCH] Update Caddyfile --- install/docker/Caddyfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/install/docker/Caddyfile b/install/docker/Caddyfile index 40e55707e..b7ee46c7b 100644 --- a/install/docker/Caddyfile +++ b/install/docker/Caddyfile @@ -32,11 +32,10 @@ Cache-Control "public, max-age=31536000" } - header { - X-Frame-Options "SAMEORIGIN" - X-Content-Type-Options "nosniff" - Referrer-Policy "strict-origin-when-cross-origin" + @html_css_js { + path *.html *.css *.js *.json *.xml *.txt } + header @html_css_js Content-Type "{mime}; charset=utf-8" } # HTTPS redirect (only if SSL is enabled)