#How to deploy with HTTPS ?

3 messages · Page 1 of 1 (latest)

untold cloud
#

Just with taking django-admin startproject mysite as base, how to config it to use https instead of http ?

spice abyss
#

That is usually something you would configure in your webserver like nginx. You can create a certificate with e.g. letsencrypt, put it on your server and reference it within your webserver config, then proxy any requests to your app.

#

I don't recall any necessary changes within your Django settings for this, you can handle all that one layer above the Django stuff.