feat(base): move setting SECURE_SSL_REDIRECT = True
to etc/settings
ref: #248 #390
This commit is contained in:
@ -96,7 +96,7 @@ SECURE_HSTS_SECONDS = 86400
|
||||
SECURE_HSTS_INCLUDE_SUBDOMAINS = True
|
||||
SECURE_HSTS_PRELOAD = True
|
||||
# SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https") # ToDo: https://docs.djangoproject.com/en/dev/ref/settings/#secure-proxy-ssl-header
|
||||
SECURE_SSL_REDIRECT = True
|
||||
# SECURE_SSL_REDIRECT = True # Commented out so tests pass
|
||||
# SECURE_SSL_HOST = # ToDo: https://docs.djangoproject.com/en/dev/ref/settings/#secure-ssl-host
|
||||
SESSION_COOKIE_SECURE = True
|
||||
# USE_X_FORWARDED_HOST = True # ToDo: https://docs.djangoproject.com/en/dev/ref/settings/#use-x-forwarded-host
|
||||
|
@ -25,3 +25,5 @@ DATABASES = {
|
||||
#
|
||||
#
|
||||
# CELERY_BROKER_URL = 'amqp://<username>:<password>@<host>:<port>/[<message host>]' # 'amqp://' is the connection protocol
|
||||
|
||||
SECURE_SSL_REDIRECT = True
|
||||
|
Reference in New Issue
Block a user