Skip to content

fix: Web UI not accessible externally — bind/proxy config - #49

Merged
Piboonsak merged 2 commits into
mainfrom
copilot/bug-fix-web-ui-accessibility
Apr 5, 2026
Merged

Piboonsak merged 2 commits into
mainfrom
copilot/bug-fix-web-ui-accessibility

Conversation

Copilot AI commented Apr 5, 2026 •

Copy link
Copy Markdown

Closes #45

- docker/docker-compose.prod.yml: add --bind lan to gateway command so
  the process binds to 0.0.0.0 inside the container; without this Docker
  bridge NAT cannot reach the app (it only listened on container loopback)
- Dockerfile: add EXPOSE 18789 for runtime/documentation hint
- docker/nginx/openclaw.conf: add explicit location /chat block for the
  Web UI path; replace hardcoded Connection "upgrade" with $connection_upgrade
  variable (from ws-upgrade-map.conf) so regular HTTP gets Connection: close
  and WebSocket upgrades get Connection: upgrade
- docker/nginx/ws-upgrade-map.conf: new conf.d snippet containing the
  map $http_upgrade $connection_upgrade { ... } http-context directive
- config/openclaw.prod.json5: add gateway.controlUi.enabled=true and
  basePath="/chat" so the gateway serves the web UI at /chat

Agent-Logs-Url: https://github.com/Piboonsak/openclaw_github/sessions/d46541d9-f590-41ed-8c91-dc4edc5d563a

Co-authored-by: Piboonsak <[email protected]>
Copilot AI changed the title [WIP] Fix web UI not accessible externally due to bind/proxy config fix: Web UI not accessible externally — bind/proxy config Apr 5, 2026
Copilot AI requested a review from Piboonsak April 5, 2026 13:19
@Piboonsak
Piboonsak marked this pull request as ready for review April 5, 2026 13:22
@Piboonsak
Piboonsak merged commit 8c28e34 into main Apr 5, 2026
@Piboonsak
Piboonsak deleted the copilot/bug-fix-web-ui-accessibility branch April 5, 2026 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

2 participants