I added an SSL certificate to my droplet domain, but when I try to open a URL it responds to http://raisze.backend.space:8000/admin and not to https://raisze.backend.space:8000/admin. I am a beginner please help.
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 @massivegreenbluescubadiver,
First, I’ll recommend adding Nginx as a reverse proxy and configuring the SSL in there. Here is an article on how to achieve that:
From the article check only the Nginx reverse proxy stuff. Once you have nginx and configured to work as a reverse proxy, I’ll recommend to renew your Let’s Encrypt with Certbot and have it apply the HTTPS configuration to Nginx automatically. Running
- certbot renew
and then following the options should do the trick.
Hello there,
I’ll also recommend using Nginx as a reverse proxy for your Django application, on an additional note by using DigitalOcean’s App Platform solution all of that is handled for you.
You can check this question which was previously asked in our community
https://www.digitalocean.com/community/questions/how-can-i-add-ssl-certificate-to-my-django-website
Regards
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.