Example linkHi, I am running a django application in Docker. The app was running properly before but now it is giving me the following error continuously.
I am not sure where is the error. Please have a look over the following attached screenshot.
https://drive.google.com/file/d/1o1Sb8p5AG-H944C9CgmwzZq66TlFHVAD/view?usp=sharing
Thank you.
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!
Hi @asadullah73,
Let’s start with the basics. I can see your Domain is now loading with a basic Nginx page. This means the domain’s nginx configuration is not properly done.
What I’ll recommend is providing the config file here so that we can further provide you with some guidelines. The main thing is that you create a reverse proxy to your Django application.
Luckily, DigitalOcean have a pretty good tutorial on how to configure such setup with Nginx, Django with Docker. You can check it here;
Regards, KFSys
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.