Repository navigation
Guard the shared proxy against Do It List's server block - #193
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #191. A broken or missing Do It List server block could stop
cz-nginxfrom starting, taking CryptoZing down.doitlist-guard.shruns at container start and loads Do It List's block only whennginx -tpasses.--stricton each routing change; a failing change is turned away and the last good block keeps serving.deploy.shcreates the shareddoitlist_edgenetwork if it is missing; neither stack owns it.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