I followed the instructions
Setup Nginx > working perfectly Security certificate > working perfectly Setup vsftpd & secured > working perfectly
Installed Node-red > working fine on http and port 1880 Not working on node-red.domainname.com but on domainname:1880 Setup Credentials Admin & password > working As soon as I block port 1880 or allow line "uiHost: “127.0.0.1”, I cant access the node-red server. Regular website still works fine and is getting https.
So I have two issues:
Please help guide me though this. I have been stuck at it for a few days now
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hello @thorofasgard
You need to create an Nginx virtual host for the domain name in order to use it instead of the droplet IP address.
We do have an old tutorial for an older Ubuntu version which you can check here:
https://www.digitalocean.com/community/tutorials/how-to-connect-your-internet-of-things-with-node-red-on-ubuntu-16-04
You can check Step 4 — Setting Up Nginx and examine the configuration.
Regards
Hi @thorofasgard,
You need to configure Reverse Proxy in your nginx conf for your domain. Basically, go to
/etc/nginx/sites-enabled/yourdomainname.conf
. Once inside, you 'll need to configure.For port 80 it will look something like:
What happened to my answer? I posted a couple of days ago with screenshots. It said it was being reviewed.