Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

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.
Accepted Answer
Thanks for your reply and your time.!
I did run sudo tail -n 50 /var/log/nginx/error.log this command and i got this;
2018/03/19 18:05:49 [crit] 7468#0: *1 connect() to 127.0.0.1:4567 failed (13: Permission denied) while connecting to upstream,
client: XX.190.XXX.115, server: forum.mydomain.net, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:4567/",
host: "forum.mydomain.net"
2018/03/19 18:05:49 [crit] 7468#0: *1 connect() to [::1]:4567 failed (13: Permission denied) while connecting to upstream,
client: XX.190.XXX.115, server: forum.mydomain.net, request: "GET / HTTP/1.1", upstream: "http://[::1]:4567/",
host: "forum.mydomain.net"
2018/03/19 18:05:49 [error] 7468#0: *1 no live upstreams while connecting to upstream,
client: XX.190.XXX.115, server: forum.mydomain.net, request: "GET /favicon.ico HTTP/1.1",
upstream: "http://localhost/favicon.ico", host: "forum.mydomain.net", referrer: "http://forum.mydomain.net/"
I have no error.log file on /opt/nodebb ( where i’ve installed )
I did some search on google and it seems nginx related but im not sure how to solve to this and which file edit to solve.
It’s possible that the file isn’t being saved when you close PuTTy. By doing so you are terminating the SSH session and forcing vim (the text editor) to quit. Once you run sudo vi /etc/nginx/conf.d/yourdomain.com.conf, press i and then paste in the nginx config. Then, press Escape then :. Type wq and press Enter. This will save the file and exit vim.
You might prefer to use a different editor such as nano which is a bit easier to use. sudo nano /etc/nginx/conf.d/yourdomain.com.conf, paste your config file, and press ctrl-x to save. Follow the prompt the bottom.
Make sure you restart nginx after adding the config file. That should be it.
if you just run nginx -t on its own it should give you any errors and what files if the exist