diff --git a/banzai_floyds_ui/settings.py b/banzai_floyds_ui/settings.py index 7d3706d..00769f5 100644 --- a/banzai_floyds_ui/settings.py +++ b/banzai_floyds_ui/settings.py @@ -29,6 +29,8 @@ ALLOWED_HOSTS = os.getenv('ALLOWED_HOSTS', '*').split(',') +SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https') + SECURE_SSL_REDIRECT = not DEBUG SESSION_COOKIE_SECURE = not DEBUG