You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If True, the SecurityMiddleware redirects all non-HTTPS requests to HTTPS
i have added django.middleware.security.SecurityMiddleware to MIDDLEWARE list in settings.py
Using SECURE_SSL_REDIRECT = True with runsslserver doesn't redirect all http traffic to https, even the server is not gonna hit from browser/client when try with http
This issue is asked and well described here on stackoverflow
From Django docs on
SECURE_SSL_REDIRECT
i have added
django.middleware.security.SecurityMiddleware
toMIDDLEWARE
list in settings.pyUsing
SECURE_SSL_REDIRECT = True
withrunsslserver
doesn't redirect all http traffic to https, even the server is not gonna hit from browser/client when try withhttp
This issue is asked and well described here on stackoverflow
https://stackoverflow.com/questions/41221890/redirect-http-to-https-in-django-using-sslserver
The text was updated successfully, but these errors were encountered: