Skip to content

Guard the shared proxy against Do It List's server block - #193

Merged
n8bar merged 4 commits into
mainfrom
claude/doitlist-proxy-guard
Oct 2, 2026
Merged

n8bar merged 4 commits into
mainfrom
claude/doitlist-proxy-guard

Conversation

@n8bar

@n8bar n8bar commented Oct 2, 2026 •

Copy link
Copy Markdown
Owner

Follow-up to #191. A broken or missing Do It List server block could stop cz-nginx from starting, taking CryptoZing down.

  • doitlist-guard.sh runs at container start and loads Do It List's block only when nginx -t passes.
  • Do It List runs it with --strict on each routing change; a failing change is turned away and the last good block keeps serving.
  • A rejected block and its reason go to the container log, not only the caller's console.
  • deploy.sh creates the shared doitlist_edge network if it is missing; neither stack owns it.
  • Do It List's folder is now mounted as a directory, so a missing file can't become a directory.

Tested on nginx:1.27-alpine with good, broken, missing, and swapped-to-broken blocks; CryptoZing served in every case. Already live on the server (previous file kept as compose.alpha.yaml.pre-guard).

🤖 Generated with Claude Code

https://claude.ai/code/session_01F2FtvCF7avZZieGpKiLKYX

n8bar and others added 4 commits October 2, 2026 01:30
A broken or missing Do It List block could stop cz-nginx from starting.
The guard loads it only when nginx -t passes, and keeps the last good
one when a change fails. Already live on the server.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F2FtvCF7avZZieGpKiLKYX
Under --strict the guard also writes to the container log, so a rejected
routing change is visible in docker logs, not only the caller's console.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MchCV6T5B393x87E8xonCX
Neither stack owns it; deploy.sh makes sure it exists so a missing network
can't stop cz-nginx from starting.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MchCV6T5B393x87E8xonCX
@n8bar
n8bar merged commit f65da67 into main Oct 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant