Hi, I've installed node-red in VPS with domain name
mydomain.net, it's works normally under
mydomain.net:1880. However I want to make the url it tidier by creating subdomain
nodered.mydomain.net using apache2. Here's my configuration:
<VirtualHost *:80> ServerName nodered.mydomain.net ServerAlias *.nodered.mydomain.net ProxyRequests Off ProxyPreserveHost On ProxyPass / http://localhost:1880/ ProxyPassReverse / http://localhost:1880/ </VirtualHost>
The flow editor is giving me Lost connection to server message, the console message is WebSocket connection to 'ws://nodered.mydomain.net/comms' failed:
Any idea how to fix that? I'm very newbie on networking stuff and most of configuration I've made just by following tutorial on internet.
I think the general function works normally, but it just annoying to have that message.