feat(dev2-site): render r4ck.dev and bittorrented.com vhosts from the kit - #113
Merged
Merged
Conversation
… kit Two vhosts could not be re-rendered, so they missed the proxy_buffer_size fix (#112): - r4ck.dev carries a hand-added ThreatCrush x402 paywall location that a re-render would delete. sites.d may now set nginx_locations (raw location blocks, __APP_PORT__ substituted), inserted ahead of the catch-all; the paywall block moves into sites.d/r4ck.dev.json. - bittorrented.com is not a Railway site, so it has no sites.json row and `dev2-site vhost` died "unknown site". site() now falls back to a sites.d file that names itself, and nginx_app: false renders only the proxies (its app runs on a droplet; only supabase.bittorrented.com is here). Proxy tuning moved into proxy_tuned(). Dry run against dev2: 74 vhosts render byte-identical to live; these two differ only by the buffer lines. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
ThreatCrush Security Scan25 finding(s) HIGH/CRITICAL: 4 | MEDIUM: 12 | LOW: 9
Snippets are redacted; ThreatCrush never prints matched credential material. |
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.
Lets the kit render the last two kit-owned vhosts, so they get the #112 proxy_buffer_size fix.
nginx_locationskey in sites.d (raw location blocks,__APP_PORT__substituted, inserted beforelocation /). The live ThreatCrush x402 paywall block for/api/v1/searchmoves intosites.d/r4ck.dev.json(with the buffer lines added), so a re-render keeps it.site()falls back to a standalonesites.d/<site>.jsonwhosesitematches, andnginx_app: falserenders only the proxies (app on a DO droplet, only supabase.bittorrented.com on dev2).proxy_tuned().Dry run (dev2-site loaded as a module with ssh stubbed, diffed against live dev2): 74 vhosts byte-identical, r4ck.dev and bittorrented.com differ only by the buffer lines.
🤖 Generated with Claude Code