disabling django ssl redirection in order to run this in docker (without ssl obviously)
This commit is contained in:
parent
5b6f4e16ef
commit
7a1bf054f5
@ -230,6 +230,6 @@ CRISPY_TEMPLATE_PACK = "bootstrap5"
|
|||||||
SESSION_COOKIE_SECURE = True
|
SESSION_COOKIE_SECURE = True
|
||||||
CSRF_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)
|
SECURE_HSTS_SECONDS = get_env_value('DJANGO_SECURE_HSTS_SECONDS', default=120)
|
Loading…
Reference in New Issue
Block a user