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

23 lines
490 B
Caddyfile

{$SITE_ADDRESS:https://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.jyotisha.chat {
encode zstd gzip
@root path /
redir @root /admin 308
reverse_proxy web:3000
}
https://www.jyotisha.chat {
redir https://jyotisha.chat{uri} 308
}