victronenergy / venus-docker

MIT License
28 stars 9 forks source link

feat(nginx): add mapping for /websocket-mqtt #21

Closed mman closed 2 months ago

mman commented 2 months ago

This PR closes https://github.com/victronenergy/venus-docker/issues/20 by adding a /websocket-mqtt HTTP Upgrade mapping to the venus-docker nginx config file. That way HTML app served via NGINX can talk to MQTT Websocket directly by requesting HTTP Upgrade via /websocket-mqtt instead of talking to port 9001.