mirror of
https://github.com/profullstack/agentbbs.git
synced 2026-10-01 19:43:49 +00:00
Serve the OpenAccess descriptor at /.well-known/openaccess.json (#127)
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:
parent
d2e4b56ae7
commit
aad61eec17
5 changed files with 101 additions and 0 deletions
6
setup.sh
6
setup.sh
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue