Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

We don't need to redirect to SSL in Django: it's handled at the serve…

…r level.
  • Loading branch information...
commit 991db2a69b7afff5c0487516b93605bef3acef11 1 parent 4073083
@jacobian jacobian authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django_website/settings/www.py
View
2  django_website/settings/www.py
@@ -168,7 +168,7 @@
if PRODUCTION:
SESSION_COOKIE_SECURE = True
SESSION_COOKIE_HTTPONLY = True
- SECURE_SSL_REDIRECT = True
+ SECURE_SSL_REDIRECT = False
SECURE_FRAME_DENY = True
SECURE_HSTS_SECONDS = 600
SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTOCOL", "SSL")
Please sign in to comment.
Something went wrong with that request. Please try again.