From d05a5430f1c494b512f1be412d43cb3d24079115 Mon Sep 17 00:00:00 2001 From: Arseni Date: Wed, 25 Feb 2026 23:58:02 +0300 Subject: [PATCH] final fix --- frontend/pweb/caddy/Caddyfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/pweb/caddy/Caddyfile b/frontend/pweb/caddy/Caddyfile index 96b5537e..304d82c3 100644 --- a/frontend/pweb/caddy/Caddyfile +++ b/frontend/pweb/caddy/Caddyfile @@ -12,6 +12,7 @@ ######################################## (sendico_site) { vars static_root /usr/share/pweb + vars docs_root /usr/share/docs encode zstd gzip @@ -80,7 +81,7 @@ } handle /docs/ { - root * {vars.static_root}/docs + root * {vars.docs_root} rewrite * /doc.html file_server header Cache-Control "no-cache, no-store, must-revalidate" @@ -89,7 +90,7 @@ } handle_path /docs/* { - root * {vars.static_root}/docs + root * {vars.docs_root} file_server header Cache-Control "no-cache, no-store, must-revalidate" header Pragma "no-cache"