From 1f9c91c4d7152751190bb17a37f2f8724e4cad7b Mon Sep 17 00:00:00 2001 From: Clawd Date: Mon, 16 Feb 2026 18:51:54 -0800 Subject: Add TODO: support custom Caddyfile in repo --- TODO.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/TODO.md b/TODO.md index 57a33ad..2c6a6be 100644 --- a/TODO.md +++ b/TODO.md @@ -23,6 +23,20 @@ ## Other TODOs +### Support custom Caddyfile in repo +**Problem:** v2 always generates Caddyfiles from templates, ignoring any custom config in the repo. + +**v1 behavior:** Checked for `.ship/Caddyfile` and used it if present. + +**Proposed:** If `Caddyfile` exists in repo root, use it instead of generating. Support variable substitution: +- `{{.RootDir}}` → `/var/www/` +- `{{.Port}}` → allocated port +- `{{.Domain}}` → site domain + +This allows custom routes (NIP-05, LNURL, rewrites, etc.) while still letting ship manage deployment. + +--- + ### ship list should show custom domains **Problem:** `ship list` shows internal names (e.g., `ship-593a3d`) but not the actual custom domain mappings (e.g., `checkyourinfo.com`). -- cgit v1.2.3