mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 18:30:44 +00:00
fix(gateway): use secure dashboard links when TLS is enabled (#71499)
Fixes #71494. - Render Control UI links with https:// when gateway TLS is enabled. - Render websocket links with wss:// through the shared link resolver. - Add daemon status handoff coverage and TLS scheme docs. Co-authored-by: deepkilord <wang_hgang@msn.com>
This commit is contained in:
@@ -9,6 +9,7 @@ title: "Web"
|
||||
The Gateway serves a small **browser Control UI** (Vite + Lit) from the same port as the Gateway WebSocket:
|
||||
|
||||
- default: `http://<host>:18789/`
|
||||
- with `gateway.tls.enabled: true`: `https://<host>:18789/`
|
||||
- optional prefix: set `gateway.controlUi.basePath` (e.g. `/openclaw`)
|
||||
|
||||
Capabilities live in [Control UI](/web/control-ui).
|
||||
@@ -100,6 +101,8 @@ Open:
|
||||
gateway token (even on loopback).
|
||||
- In shared-secret mode, the UI sends `connect.params.auth.token` or
|
||||
`connect.params.auth.password`.
|
||||
- When `gateway.tls.enabled: true`, local dashboard and status helpers render
|
||||
`https://` dashboard URLs and `wss://` WebSocket URLs.
|
||||
- In identity-bearing modes such as Tailscale Serve or `trusted-proxy`, the
|
||||
WebSocket auth check is satisfied from request headers instead.
|
||||
- For non-loopback Control UI deployments, set `gateway.controlUi.allowedOrigins`
|
||||
|
||||
Reference in New Issue
Block a user