small fixes

This commit is contained in:
Arseni
2026-02-25 01:01:28 +03:00
parent fa54088b25
commit d70d9e84c9
3 changed files with 4 additions and 29 deletions

View File

@@ -8,6 +8,7 @@
:80 {
vars static_root /usr/share/pweb
vars docs_root /usr/share/docs
encode zstd gzip
@@ -45,14 +46,14 @@
}
handle /docs/ {
root * {vars.static_root}/docs
root * {vars.docs_root}
rewrite * /doc.html
file_server
header Cache-Control "no-cache"
}
handle_path /docs/* {
root * {vars.static_root}/docs
root * {vars.docs_root}
file_server
header Cache-Control "no-cache"
}