I have domain on tmdhosting and pointing to digitalocean host server. I have django website and now after deploy i want to secure it by ssl . but i faced many problems and errors. so how can i add ssl to my web?
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,
In order to give you a solid straight forward answer, you must give a more detailed description of your setup.
However, in general you don’t deal with SSL in your application. Instead, it is normal practice to handle SSL with a dedicated HTTP-server program, such as Nginx or Apache.
By using DigitalOcean’s App Platform-solution all of that is handled for you.
On the contrary, if you are running your own Droplet with, let’s say, Ubuntu 20.04 and Apache you want to do the following:
Good luck! :)