Application is not calling by NGINX

As I was followed your tutorial on how to configure NGINX + Django. However, at last I was not able to see my application om browser. I am still getting message “Welcome to nginx!” on my browser. Currently I am using Centos7.5. Kindly let me know that how to trace the errors or steps to overcome this issue.

Thanks in advance. Regards, Venu

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi there,

It is possible that you have multiple Nginx server block files in /etc/nginx/conf.d and the incorrect one is being served.

You can check that with the following command:

sudo ls -l /etc/nginx/conf.d

If this is the case I would recommend removing the one that is not needed.

If there is only one file in there, then it could be a problem with the configuration. Feel free to share the content of the file here so that I could try to advise you further.

Regards, Bobby