Files
Jyotisha/deploy/Caddyfile
T
Jesse_Chen 50e1a4aca5 fix(web): reload stale clients instead of spinning after a release
Homepage bootstrap never escaped the loading shell when a new web image changed chunk hashes. Stamp deploymentId, stop caching chat HTML, and hard-reload failed chunk loads once.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-21 10:29:43 +08:00

16 lines
338 B
Caddyfile

{$SITE_ADDRESS:https://jyotisha.chat} {
encode zstd gzip
@htmlDocuments path / /login
header @htmlDocuments Cache-Control "private, no-store, must-revalidate"
reverse_proxy web:3000 {
lb_try_duration 10s
lb_try_interval 250ms
}
}
www.jyotisha.chat {
redir https://jyotisha.chat{uri} permanent
}