HTTPS redirect for a project url

I would like to ask if we could configure X(dot)botics(dot)co to be redirected to https://X.botics.co/?

cc: @dilara @marc

Hi Jeremy – are you asking how to turn on HTTPS by default for your web domain?

Yes, @anand, or can we configure it on the server? Are we using apache or nginx? Could it be just a redirect?

Add SECURE_SSL_REDIRECT = True to settings.py and Django will redirect automatically. You can read more about this option here: https://docs.djangoproject.com/en/3.1/ref/settings/#secure-ssl-redirect

Thank you very much @Crowdbotics_Dan, @anand. Problem solved now