Dashboard URL

I’m using HOme Assistant with the Node-RED addon.
It all works fine when I use the local IP address.
http://192.168.1.15:1880 & http://192.168.1.15:1880/endpoint/ui are working without problem.
I also have configured a NGINX so i can use https://domain instead of http://192.168.1.15:1880 .
The problem is that when I click on the link of the dashboard, it tries to open https://domain:1880/endpoint/ui , which of course doesn’t work.
Any idea how I can work around this, so it points to https://domain/endpoint/ui instead of https://domain:1880/endpoint/ui ?
Thanks in advance for any tips.

How is your proxy_pass setup in Nginx? IIRC, you need to add a trailing ‘/’ to it for it to work properly:

location / {
    proxy_pass  http://192.168.1.15:1880/;
}

Plus, there might be some additional work you need to do in NR’s settings for base url using httpRoot (I think?). I’m not 100% certain you’ll be able to get this working the way you want as an embedded application. You might have better success using NodeRed standalone.

1 Like

My proxy pass points to http://192.168.1.15:8123/ as this is the port used for Home Assistant and like you say, NodeRED is embedded which seems to be the problem.
So, I’ve created a 2nd site in NGINX which points directly to http://192.168.1.15:1880/ and than it seems to work with the / at the end. Thank you very much

1 Like