50e1a4aca5
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>
19 lines
434 B
Caddyfile
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
|
|
}
|