Replies: 2 comments 2 replies
-
One possibility is because you are missing the |
Beta Was this translation helpful? Give feedback.
2 replies
-
Here you can find a working example: https://github.com/zwave-js/zwave-js-ui/tree/master/docker/nginx |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Similar to #1396, but not sure if I should post there or start a new one.
I've got zwave-js-ui running in a docker container with ports 8091 and 3000 exposed.
I've got nginx configured and successfully loading the UI, but the UI can't connect via websocket.
I see these errors in the chrome console:
Here's my nginx configuration:
I have https enabled in the UI settings, and I've set
SSL_CERTIFICATE
andSSL_KEY
environment variables.The app prints to stdout that it's using HTTPS and has loaded the cert and key.
I've also tried changing the proxy_pass to
http://zwavejs
and disabling HTTPS (but keeping HTTPS on nginx), but that didn't work either.Things work fine when I access it via http://localhost:8091.
Any tips?
Beta Was this translation helpful? Give feedback.
All reactions