I have a setup where nodered is unstalled as a plugin for homeassistant.
Recently, I configured an ssl certificate (self signed) using nginx and a reverse proxy to homeassistant, so that when navigating to https://home.mydomain.com it redirects to homeassistant.
Everything worked fine before, but now when entering to nodfered, it loads all the page and the flows and then showing a message
Lost connection to server, reconnecting
Looking through the network tab of the chrome dev tools showed that:
wss://home.mydomain.com/api/hassio_ingress/SOME_TOKEN/comms finishes with a message
Error during WebSocket handshake: Unexpected response code: 404
Researching online I realized that the nginx configuration doesn’t allow the
/comms to pass through for some reason.
Any idea for a way to solve that?