Adding SECURE_PROXY_SSL_HEADER parameter

This param is needed to let horizon know that traffic is being
redirected from https

Change-Id: I53a6cb59c1349e0f4eaad6015923e4564badf5d2
This commit is contained in:
Andrey Pavlov 2016-11-08 20:06:28 +00:00
parent 95ac80097e
commit 264fff74d0
1 changed files with 1 additions and 1 deletions

View File

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