diff options
| author | Clawd <ai@clawd.bot> | 2026-02-17 08:09:53 -0800 |
|---|---|---|
| committer | Clawd <ai@clawd.bot> | 2026-02-17 08:09:53 -0800 |
| commit | 05ea98df57599775c1d5bfea336012b075531670 (patch) | |
| tree | 020f3690e92732dcba723be0cfaef649f46de137 | |
| parent | b976b147e2e5e34b940c69fee7d7c121e12cd9a8 (diff) | |
Mark custom Caddyfile support as fixedagent-mode
| -rw-r--r-- | TODO.md | 15 |
1 files changed, 5 insertions, 10 deletions
| @@ -2,17 +2,12 @@ | |||
| 2 | 2 | ||
| 3 | ## Open | 3 | ## Open |
| 4 | 4 | ||
| 5 | ### Support custom Caddyfile in repo | 5 | ### ~~Support custom Caddyfile~~ ✅ FIXED |
| 6 | **Problem:** v2 always generates Caddyfiles from templates, ignoring any custom config in the repo. | 6 | **Fixed in:** commit b976b14 |
| 7 | 7 | ||
| 8 | **v1 behavior:** Checked for `.ship/Caddyfile` and used it if present. | 8 | - Caddyfile is only generated on first deploy |
| 9 | 9 | - Redeploys preserve existing Caddyfile (manual edits survive) | |
| 10 | **Proposed:** If `Caddyfile` exists in repo root, use it instead of generating. Support variable substitution: | 10 | - SSH in and customize as needed, future deploys won't overwrite |
| 11 | - `{{.RootDir}}` → `/var/www/<name>` | ||
| 12 | - `{{.Port}}` → allocated port | ||
| 13 | - `{{.Domain}}` → site domain | ||
| 14 | |||
| 15 | This allows custom routes (NIP-05, LNURL, rewrites, etc.) while still letting ship manage deployment. | ||
| 16 | 11 | ||
| 17 | --- | 12 | --- |
| 18 | 13 | ||
