diff options
Diffstat (limited to 'TODO.md')
| -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 | ||
