fixed caddyfile #552

Merged
tech merged 2 commits from SEND059 into main 2026-02-25 20:59:00 +00:00
Showing only changes of commit d05a5430f1 - Show all commits

View File

@@ -12,6 +12,7 @@
######################################## ########################################
(sendico_site) { (sendico_site) {
vars static_root /usr/share/pweb vars static_root /usr/share/pweb
vars docs_root /usr/share/docs
encode zstd gzip encode zstd gzip
@@ -80,7 +81,7 @@
} }
handle /docs/ { handle /docs/ {
root * {vars.static_root}/docs root * {vars.docs_root}
rewrite * /doc.html rewrite * /doc.html
file_server file_server
header Cache-Control "no-cache, no-store, must-revalidate" header Cache-Control "no-cache, no-store, must-revalidate"
@@ -89,7 +90,7 @@
} }
handle_path /docs/* { handle_path /docs/* {
root * {vars.static_root}/docs root * {vars.docs_root}
file_server file_server
header Cache-Control "no-cache, no-store, must-revalidate" header Cache-Control "no-cache, no-store, must-revalidate"
header Pragma "no-cache" header Pragma "no-cache"