From 264fff74d02bc0a66b2bfbf8c555ffa330b569e9 Mon Sep 17 00:00:00 2001 From: Andrey Pavlov Date: Tue, 8 Nov 2016 20:06:28 +0000 Subject: [PATCH] Adding SECURE_PROXY_SSL_HEADER parameter This param is needed to let horizon know that traffic is being redirected from https Change-Id: I53a6cb59c1349e0f4eaad6015923e4564badf5d2 --- service/files/local_settings.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/files/local_settings.j2 b/service/files/local_settings.j2 index 1728f59..bf00e07 100644 --- a/service/files/local_settings.j2 +++ b/service/files/local_settings.j2 @@ -35,7 +35,7 @@ WEBROOT = '/' # and don't forget to strip it from the client's request. # For more information see: # https://docs.djangoproject.com/en/1.8/ref/settings/#secure-proxy-ssl-header -#SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https') +SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https') # If Horizon is being served through SSL, then uncomment the following two # settings to better secure the cookies from security exploits