Hi,
While I am aware that we can change default endpoint /ui from settings.js but is there a way to achieve this from the node-red console itself. As I need to host multiple UI forms
thanks
Rajeev
Hi,
While I am aware that we can change default endpoint /ui from settings.js but is there a way to achieve this from the node-red console itself. As I need to host multiple UI forms
thanks
Rajeev
Can you explain what your trying to achieve in greater detail?
Are you trying to create multiple node-red instances for multiple individual users?
I've done this using nginx and with the exec node I can spin up individual instances.
Its not easy .... this is just a segment of what im doing.
If you just want to edit the settings.js you can do it from within node-red using the exec node or with the file node. Then restart the node-red instance using the exec node.
Sorry, for hijacking the thread but when I see a comment like this I wonder if a person knows about FlowFuse? It is OS and gives you this OOTB (and much more).
Flow Forge (im treating this like twitter ) was not around 5 years ago when I needed individual instances for each user. This is not external and has no access to the big bad internet.
If the Original Poster was going to say yes or outline something that needed what I'm up to I was going to recommend https://flowfuse.com/ I've had to recommend it a few times in the last few months. If it was around 5 years ago I would have less grey hair.
01 - I recommend paying for flowfuse.com
02 - or pay someone else to do it for you -----> https://flowfuse.com/
I do not think that a link to flowfuse should become the default answer if people want to learn and join me in the grey hair club
No, you are right. If it's for learning, `ave at it.
PS, yeah I remember I have have seen your posts (appreciated). I try not to recommend FlowFuse too often so as not to annoy the regulars (I think maybe ~10 out of 14k posts is ok surely?) but sometimes it's easier than leading the horse to water.
No i don't need multiple instances. In a single instance i want to host multiple ui.
For eg
Http://localhost/form1
Http://localhost/form2
Http://localhost/form3
I do not believe that is possible with dashboard.
You could use the http in and response nodes and serve the forms from there using template and function nodes. You can also use websocket nodes to recieve/update the html page served from the http in/response nodes.
There are examples in the cookbook.
Dashboard 2.0 permits you to set the path of a page
So if suitable, you could have:
http://localhost:1880/dashboard/form1
http://localhost:1880/dashboard/form2
http://localhost:1880/dashboard/form3
If you truly want http://localhost/form1
then you would probably want to put something like HAProxy or NGINX in front of it
And with dashboard 1 you can apparently use
http://localhost:1880/ui/#!/form1
http://localhost:1880/ui/#!/form2
http://localhost:1880/ui/#!/form3
ui/#!
is unfortunately not a very user friendly bit of the URL. What is #!
for anyway?
Angular 1 Legacy
For Dashboard 2.0 - this is correct.
On D1, those are routes and not isolated. All routes are in the browser for all connected clients AFAIK.
D2 allows multiple separate pages.
UIBUILDER also allows both for multiple pages and separated content for different client connections.
This would serve the purpose. Can you please point me to the documentation, unable to find this node
Sorry I did not mean documentation for LB or NGINX. I meant documentation for
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.