And now I have the following situation,
First I do not see any errors, because the commands “sudo nginx -t” and “python3 manage.py runserver localhost: 9000” run well for me and now while running this last command I can access my application that is hosted in “django_project” without No change using the django_project skeleton and just re-editing the necessary “.py” as urls.py, views.py and add the “html” files of my application. EVERYTHING ALRIGHT HERE. If I give “Control-C”, then I can not access my application and send me the error bad 502, but I think this is the right thing, because I am accessing through the test server.
But according to the documentation I made several changes in nginx and gunicorn, which do not produce any effect, because when access by the name of my domain “www.xxxxxxxxxxx.cxx” I continue releasing the page html index.html that is hosted in var / www /xxxxxxxxxxxxxxxxx.cxx / html and is not redirected to my application.
As I mentioned, I followed all the steps of the documentation sent to me.
Please, to achieve success with this, you can give me some additional recommendation. ? To make and work
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.
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.
Click below to sign up and get $100 of credit to try our products over 60 days!