From 113c152119bc3661095a9809d37d0cf9c7bc712e Mon Sep 17 00:00:00 2001 From: Jose Padilla Date: Tue, 22 Jul 2014 22:54:13 -0600 Subject: [PATCH] attempt to fix heroku issue --- chatrooms/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chatrooms/settings.py b/chatrooms/settings.py index 6e1680b..1bb09ad 100644 --- a/chatrooms/settings.py +++ b/chatrooms/settings.py @@ -163,6 +163,7 @@ class Common(Configuration): 'authorization', 'x-csrftoken' ) + SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https') class Development(Common): @@ -184,4 +185,3 @@ class Development(Common): class Production(Common): DEBUG_TOOLBAR_PATCH_SETTINGS = False - SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')