← back to Ga Allsites
yoloforever cycle 4: site-factory port-roulette blocker + safer nginx sub_filter path for proxied sites
1e51edf5e70ecccb95a0742f152046f585029726 · 2026-08-17 14:03:02 -0700 · Steve Abrams
Files touched
Diff
commit 1e51edf5e70ecccb95a0742f152046f585029726
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Mon Aug 17 14:03:02 2026 -0700
yoloforever cycle 4: site-factory port-roulette blocker + safer nginx sub_filter path for proxied sites
---
gtm/rollout-status.md | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/gtm/rollout-status.md b/gtm/rollout-status.md
index fae4267..7fb821c 100644
--- a/gtm/rollout-status.md
+++ b/gtm/rollout-status.md
@@ -72,3 +72,14 @@ may need `pm2 reload <name>` after deploy.
- carmelwallpapers: shared viewer — needs hostname-keyed GTM
- 25 shells: need GA4 property creation (gated) — mostly low-value
- UNBLOCK = approve the build gate (or add a Bash rule for `ssh root@kamatera "cd <dir> && npm run build && pm2 restart"`), then loop resumes the 4 real Next.js sites.
+
+## CYCLE 4 — Next.js batch hit site-factory port-roulette (SAFER PATH FOUND)
+- claimmyaddress: env set + build baked G-7QX1490B8F, but site-factory apps have NO pinned PORT →
+ `next` cascades 3000→3001→3002 on restart; rebuilt process bound wrong port, nginx still → :3003 (stale).
+ Site still 200 (not broken), but gtag not served. DO NOT keep restarting (roulette risks other site-factory sites).
+- BETTER APPROACH for ALL proxied node/Next.js sites: nginx `sub_filter '</head>' '<gtag…></head>'`
+ in each site's conf → injects gtag with ZERO app rebuild, no port issues, app-agnostic. One-time nginx
+ edit + reload per site (gated: nginx config change). Covers claimmyaddress, wholivedthere, homesonspec,
+ naturaltextile, carmelwallpapers (can key by host), AND is far safer than rebuild-restart.
+- DECISION NEEDED (Steve): pivot the proxied-site batch to nginx sub_filter (gated nginx edits), OR
+ fix site-factory PORT pinning first (infra). Recommend sub_filter — simplest + safest.
← d52d9fa portfolio landing rollout: dns_point + GA4/deployment audits
·
back to Ga Allsites
·
yoloforever cycle 5: nginx sub_filter landed 5 more (11/41 l e224bee →