Files
Jyotisha/deploy/Caddyfile.staging
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

19 lines
434 B
Caddyfile

{$SITE_ADDRESS:https://staging.jyotisha.chat} {
encode zstd gzip
@htmlDocuments path / /login
header @htmlDocuments Cache-Control "private, no-store, must-revalidate"
@adminPaths path /admin /admin/* /api/admin/*
respond @adminPaths "Not found" 404
reverse_proxy web:3000
}
https://admin.staging.jyotisha.chat {
encode zstd gzip
@root path /
redir @root /admin 308
reverse_proxy web:3000
}