Skip to content

dev2: per-proxy nginx locations; social.w3bs.org serves the Bluesky web client, PDS paths to the PDS - #182

Merged
ralyodio merged 1 commit into
masterfrom
dev2/w3bs-social-web
Oct 15, 2026
Merged

ralyodio merged 1 commit into
masterfrom
dev2/w3bs-social-web

Conversation

@ralyodio

Copy link
Copy Markdown
Contributor

Adds an optional locations field to a proxies entry, inserted ahead of that host's location / (the same way nginx_locations works for the main site). w3bs.org uses it so social.w3bs.org serves the Bluesky web client (port 3343) while /xrpc/, /oauth/, /@atproto/, /.well-known/ and /account go to the AT Protocol PDS (port 3342). Already applied on dev2 with dev2-site vhost w3bs.org (dry-run first). App side: profullstack/w3bs.org#65.

🤖 Generated with Claude Code

…eb client, PDS paths to the PDS

A proxies entry may carry "locations", inserted ahead of that host's catch-all
(like nginx_locations for the main site). social.w3bs.org now proxies to the
web client on 3343 with /xrpc, /oauth, /@atproto, /.well-known and /account on
the PDS (3342); *.social.w3bs.org stays on the PDS. Applied on dev2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

ThreatCrush Security Scan

33 finding(s)

HIGH/CRITICAL: 7 | MEDIUM: 12 | LOW: 14

Severity Rule Location
HIGH py-ssrf-outbound-request dev2/dev2-site:151
HIGH py-ssrf-outbound-request dev2/dev2-site:1060
HIGH py-ssrf-outbound-request dev2/dev2-site:1775
HIGH sh-remote-script-execution root-ubuntu.sh:3250
HIGH sh-remote-script-execution root-ubuntu.sh:3251
HIGH sh-remote-script-execution root-ubuntu.sh:5146
HIGH sh-remote-script-execution root-ubuntu.sh:5150
MEDIUM sql-template-interpolation dev2/dev2-site:1286
MEDIUM sql-template-interpolation dev2/dev2-site:1363
MEDIUM sh-remote-script-execution root-ubuntu.sh:5354
MEDIUM redos-nested-quantifier src/domain-free.ts:56
MEDIUM redos-nested-quantifier src/emoji.ts:167
MEDIUM redos-nested-quantifier src/icon.ts:166
MEDIUM redos-nested-quantifier src/mail.ts:1047
MEDIUM sql-template-interpolation src/users-dump.ts:487
MEDIUM sql-string-concatenation src/users-dump.ts:507
MEDIUM sql-template-interpolation src/users-dump.ts:540
MEDIUM sql-string-concatenation src/users-dump.ts:574
MEDIUM redos-nested-quantifier src/wcag.ts:556
LOW secret-generic-credential src/credentials.ts:36
LOW secret-generic-credential src/credentials.ts:53
LOW secret-generic-credential src/credentials.ts:56
LOW secret-generic-credential src/credentials.ts:61
LOW secret-generic-credential src/user-export.ts:689
LOW secret-generic-credential src/user-export.ts:695
LOW secret-generic-api-key test/credentials.test.ts:208
LOW secret-generic-credential test/mail.test.ts:141
LOW secret-generic-credential test/proxy.test.ts:69
LOW secret-generic-credential test/proxy.test.ts:85
LOW secret-generic-credential test/shorten.test.ts:36
LOW secret-database-url test/users-dump.test.ts:108
LOW secret-database-url test/users-dump.test.ts:119
LOW secret-database-url test/users-dump.test.ts:120

Snippets are redacted; ThreatCrush never prints matched credential material.

@ralyodio
ralyodio merged commit f6db22b into master Oct 15, 2026
5 checks passed
@ralyodio
ralyodio deleted the dev2/w3bs-social-web branch October 15, 2026 11:36
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