disabling django ssl redirection in order to run this in docker (without ssl obviously)

This commit is contained in:
Stefan Strobel 2023-12-11 00:23:36 +01:00
parent 5b6f4e16ef
commit 7a1bf054f5
1 changed files with 1 additions and 1 deletions

View File

@ -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)