disabling django ssl redirection in order to run this in docker (without ssl obviously)
This commit is contained in:
@@ -230,6 +230,6 @@ CRISPY_TEMPLATE_PACK = "bootstrap5"
|
||||
SESSION_COOKIE_SECURE = True
|
||||
CSRF_COOKIE_SECURE = True
|
||||
|
||||
SECURE_SSL_REDIRECT = True
|
||||
SECURE_SSL_REDIRECT = False
|
||||
|
||||
SECURE_HSTS_SECONDS = get_env_value('DJANGO_SECURE_HSTS_SECONDS', default=120)
|
Reference in New Issue
Block a user