From 05ea98df57599775c1d5bfea336012b075531670 Mon Sep 17 00:00:00 2001 From: Clawd Date: Tue, 17 Feb 2026 08:09:53 -0800 Subject: Mark custom Caddyfile support as fixed --- TODO.md | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/TODO.md b/TODO.md index bd2d325..5406485 100644 --- a/TODO.md +++ b/TODO.md @@ -2,17 +2,12 @@ ## Open -### Support custom Caddyfile in repo -**Problem:** v2 always generates Caddyfiles from templates, ignoring any custom config in the repo. +### ~~Support custom Caddyfile~~ ✅ FIXED +**Fixed in:** commit b976b14 -**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. +- Caddyfile is only generated on first deploy +- Redeploys preserve existing Caddyfile (manual edits survive) +- SSH in and customize as needed, future deploys won't overwrite --- -- cgit v1.2.3