Many thanks for this.
I believe all services are running as when I go to the domain, I can see the favicon and it redirects to my users profile URL (just the page is blank).
I just tried a reinstall from scratch on a fresh instance (I am using Jelastic) and noticed that when I kept checking the domain name at each stage of the process, I saw the default Apache webpage until I configured NGINX. After which, I get a 502 error.
Here are the full error logs:
2021/02/27 22:22:16 [notice] 701#701: signal process started
2021/02/27 22:22:21 [notice] 730#730: signal process started
2021/02/27 22:22:24 [notice] 758#758: signal process started
2021/02/27 22:22:32 [notice] 786#786: signal process started
2021/02/27 22:22:38 [error] 787#787: *6 connect() failed (111: Connection refused) while connecting to upstream, client: 176.10.99.200, server: social.winter.ink, request: "HEAD / HTTP/1.1", upstream: "http://127.0.0.1:3000/", host: "social.winter.ink"
2021/02/27 22:22:38 [error] 787#787: *6 connect() failed (111: Connection refused) while connecting to upstream, client: 176.10.99.200, server: social.winter.ink, request: "HEAD / HTTP/1.1", upstream: "http://127.0.0.1:3000/500.html", host: "social.winter.ink"
2021/02/27 22:22:38 [error] 787#787: *8 connect() failed (111: Connection refused) while connecting to upstream, client: 176.10.99.200, server: social.winter.ink, request: "HEAD / HTTP/1.1", upstream: "http://127.0.0.1:3000/", host: "social.winter.ink"
2021/02/27 22:22:38 [error] 787#787: *8 connect() failed (111: Connection refused) while connecting to upstream, client: 176.10.99.200, server: social.winter.ink, request: "HEAD / HTTP/1.1", upstream: "http://127.0.0.1:3000/500.html", host: "social.winter.ink"
2021/02/27 22:22:46 [error] 787#787: *17 connect() failed (111: Connection refused) while connecting to upstream, client: 137.59.253.56, server: social.winter.ink, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:3000/", host: "social.winter.ink"
2021/02/27 22:22:46 [error] 787#787: *17 connect() failed (111: Connection refused) while connecting to upstream, client: 137.59.253.56, server: social.winter.ink, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:3000/500.html", host: "social.winter.ink"
2021/02/27 22:23:34 [error] 787#787: *20 connect() failed (111: Connection refused) while connecting to upstream, client: 176.10.99.200, server: social.winter.ink, request: "HEAD / HTTP/1.1", upstream: "http://127.0.0.1:3000/", host: "social.winter.ink"
2021/02/27 22:23:34 [error] 787#787: *20 connect() failed (111: Connection refused) while connecting to upstream, client: 176.10.99.200, server: social.winter.ink, request: "HEAD / HTTP/1.1", upstream: "http://127.0.0.1:3000/500.html", host: "social.winter.ink"
2021/02/27 22:23:47 [error] 787#787: *24 connect() failed (111: Connection refused) while connecting to upstream, client: 46.19.141.82, server: social.winter.ink, request: "HEAD / HTTP/1.1", upstream: "http://127.0.0.1:3000/", host: "social.winter.ink"
2021/02/27 22:23:47 [error] 787#787: *24 connect() failed (111: Connection refused) while connecting to upstream, client: 46.19.141.82, server: social.winter.ink, request: "HEAD / HTTP/1.1", upstream: "http://127.0.0.1:3000/500.html", host: "social.winter.ink"
2021/02/27 22:23:49 [error] 787#787: *29 connect() failed (111: Connection refused) while connecting to upstream, client: 23.129.64.220, server: social.winter.ink, request: "HEAD / HTTP/1.1", upstream: "http://127.0.0.1:3000/", host: "social.winter.ink"
2021/02/27 22:23:49 [error] 787#787: *29 connect() failed (111: Connection refused) while connecting to upstream, client: 23.129.64.220, server: social.winter.ink, request: "HEAD / HTTP/1.1", upstream: "http://127.0.0.1:3000/500.html", host: "social.winter.ink"
Thank you in advance for your help.