Caricamento in corso...
Caricamento in corso...
Last synced: Today, 22:00
Technical reference for the OpenClaw framework. Real-time synchronization with the official documentation engine.
Use this file to discover all available pages before exploring further.
The Gateway serves a small browser Control UI (Vite + Lit) from the same port as the Gateway WebSocket:
http://<host>:18789/gateway.tls.enabled: truehttps://<host>:18789/gateway.controlUi.basePath/openclawCapabilities live in Control UI. The rest of this page focuses on bind modes, security, and web-facing surfaces.
When
hooks.enabled=truehooksThe Control UI is enabled by default when assets are present (
dist/control-uijson5{ gateway: { controlUi: { enabled: true, basePath: "/openclaw" }, // basePath optional }, }
Keep the Gateway on loopback and let Tailscale Serve proxy it:
json5{ gateway: { bind: "loopback", tailscale: { mode: "serve" }, }, }
Then start the gateway:
bashopenclaw gateway
Open:
https://<magicdns>/gateway.controlUi.basePathjson5{ gateway: { bind: "tailnet", controlUi: { enabled: true }, auth: { mode: "token", token: "your-token" }, }, }
Then start the gateway (this non-loopback example uses shared-secret token auth):
bashopenclaw gateway
Open:
http://<tailscale-ip>:18789/gateway.controlUi.basePathjson5{ gateway: { bind: "loopback", tailscale: { mode: "funnel" }, auth: { mode: "password" }, // or OPENCLAW_GATEWAY_PASSWORD }, }
gateway.auth.mode: "trusted-proxy"connect.params.auth.tokenconnect.params.auth.passwordgateway.tls.enabled: truehttps://wss://trusted-proxygateway.controlUi.allowedOriginsgateway.controlUi.dangerouslyAllowHostHeaderOriginFallback=truegateway.auth.allowTailscaletruegateway.auth.allowTailscale: falsegateway.tailscale.mode: "funnel"gateway.auth.mode: "password"The Gateway serves static files from
dist/control-uibashpnpm ui:build
© 2024 TaskFlow Mirror
Powered by TaskFlow Sync Engine