Skip to content

[Bug] Web UI not accessible externally — fix bind/proxy config #45

Closed

Description

@Piboonsak

Web UI External Access Fix

Mirror of: Piboonsak/Openclaw#74

Problem

The Web UI at openclaw.yahwan.biz/chat is not accessible from external networks. The web provider serves locally but nginx reverse proxy or CORS configuration prevents external access.

Requirements

  1. Ensure the web provider binds to 0.0.0.0 (not just localhost/loopback)
  2. Verify Docker port mapping exposes the web UI port correctly
  3. Add proper CORS headers if needed for cross-origin access
  4. Ensure nginx proxy_pass configuration routes /chat to the web provider

Files to check/modify

  • docker-compose.yml — port mapping
  • docker/nginx/openclaw.conf — reverse proxy config (if exists)
  • Dockerfile — EXPOSE directive
  • src/provider-web.ts or web provider source — bind address
  • Any health check or startup config that affects the web provider

Acceptance criteria

  • Web UI is accessible at the configured domain/path from external browser
  • WebSocket connections work through the proxy
  • Health endpoint returns 200
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions