Question

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

Subscribe
Share

Submit an 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.

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