Having problems passing the http from dataplicity to node-red as I don’t have the nginx website…
Chris B
1

First off check if nginx is running.

$ ps aux | grep nginx

You should see something like this.

root       775  0.0  0.2  15732  2188 ?        Ss   Aug25   0:00 nginx: master process /usr/sbin/nginx -g daemon on; master_process on;
www-data   776  0.0  0.3  15896  3196 ?        S    Aug25   1:38 nginx: worker process
www-data   777  0.0  0.3  15896  3200 ?        S    Aug25   0:13 nginx: worker process
www-data   778  0.0  0.3  15896  3200 ?        S    Aug25   1:49 nginx: worker process
www-data   779  0.0  0.3  15896  3200 ?        S    Aug25   1:50 nginx: worker process

if it is not running you may want to start it

$ sudo service nginx start

Also look for errors

$ less /var/log/nginx/error.log

if your port 80 is taken then it will show up here.

you can also see which process is using port 80

$ netstat -tulpn | grep :80
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      -

You can find more info here

Once you have nginx running you can open browser in RPI and type in

http://localhost:80

It should show the default nginx page. or if it is showing node-red page then node-red is using port 80.