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"