Repository navigation
fix: Web UI not accessible externally — bind/proxy config - #49
Merged
Merged
Conversation
- 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
Piboonsak
marked this pull request as ready for review
April 5, 2026 13:22
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #45