feat(caddy,stand,smoke): prod-like routing stand, api smoke, old ui fallback for unknown paths

This commit is contained in:
hh committed 2026-10-16 02:33:03 +00:00
1 parent c74dac3e00
commit f6d76bb307
11 files changed
+271 -4

No files matched your search

+5 -1
View File
@@ -1,3 +1,7 @@
# caddy
`site.caddy` routes `{$FIREFLY_UI_DOMAIN}` to the project over the external `caddy` network. In a shared Caddy, mount this directory as `/etc/caddy/projects.d/firefly-ui:ro` and set `FIREFLY_UI_DOMAIN`. Keep it portable: domain only from the env, no `tls`, snippets prefixed with `firefly_ui_`.
`fireflyiii.site.caddy` is the routing that runs in production: a copy of `fleet/personal/personal-main/fireflyiii/site.caddy` in `infra/komodo`. Firefly UI has no domain of its own; it lives on Firefly's domain and takes only its page paths on GET/HEAD. The path list comes from `src/lib/spa-paths.ts`: `bun scripts/caddy-matcher.ts` prints the `@ffui_pages` block. When the list changes, paste it into both copies.
`site.caddy` is the template's routing for a separate domain and is not used.
`stand/` runs the same file locally (`docker compose -f stand/docker-compose.yml --profile prodlike up -d`), in front of the v3 stand and a production build of the client.