Serve the OpenAccess descriptor at /.well-known/openaccess.json (#127)
Some checks failed
CI / build (push) Has been cancelled
deploy / deploy (push) Has been cancelled
test / test (push) Has been cancelled

Spec: https://logicsrc.com/openaccess

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

Claude-Session: https://claude.ai/code/session_01SWRffW4ifQPUrGXJtgYWMd
This commit is contained in:
Anthony Ettinger 2026-09-12 12:26:25 -07:00 • committed by GitHub
parent d2e4b56ae7
commit aad61eec17
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 101 additions and 0 deletions

View file

@ -774,6 +774,12 @@ ${DOMAIN} {
reverse_proxy http://${HTTP_ADDR}
}
# OpenAccess descriptor (https://logicsrc.com/openaccess): lets hubs list
# the BBS and link accounts with OAuth 2.1 + PKCE. Static JSON, no auth.
handle /.well-known/openaccess.json {
reverse_proxy http://${HTTP_ADDR}
}
# IRC over WebSocket: Caddy terminates TLS and proxies to Ergo's loopback
# WebSocket listener, so web clients hit wss://${DOMAIN}/irc and agents get a
# WebSocket transport without exposing another public port. (No-op if IRC=0;