Files
slm-design/Caddyfile
S.Gromov ee5b947fb0
All checks were successful
CI/CD Pipeline / build (push) Successful in 17s
CI/CD Pipeline / version (push) Successful in 4s
CI/CD Pipeline / docker (push) Successful in 1m4s
CI/CD Pipeline / deploy (push) Successful in 7s
fix: заменить cache-busting через query на Cache-Control заголовок (#6)
fix: заменить cache-busting через query на Cache-Control заголовок

- Убран query-параметр ?v= из ссылки на ARCHITECTURE.md
- Добавлен заголовок Cache-Control: no-cache для ARCHITECTURE.md в Caddyfile

Reviewed-on: #6
Co-authored-by: S.Gromov <zz-gromov@ya.ru>
Co-committed-by: S.Gromov <zz-gromov@ya.ru>
2026-05-01 21:42:36 +03:00

12 lines
404 B
Caddyfile

:8082 {
root * /srv
@plainText path /llms.txt /llms-full.txt
header @plainText Content-Type "text/plain; charset=utf-8"
@markdown path /ARCHITECTURE.md
header @markdown Content-Type "text/markdown; charset=utf-8"
header @markdown Cache-Control "no-cache, no-store, must-revalidate"
file_server
header Link "</llms.txt>; rel=\"llms\""
try_files {path} {path}.html {path}/index.html /index.html
}