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:
parent
95ac80097e
commit
264fff74d0
|
@ -35,7 +35,7 @@ WEBROOT = '/'
|
||||||
# and don't forget to strip it from the client's request.
|
# and don't forget to strip it from the client's request.
|
||||||
# For more information see:
|
# For more information see:
|
||||||
# https://docs.djangoproject.com/en/1.8/ref/settings/#secure-proxy-ssl-header
|
# 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
|
# If Horizon is being served through SSL, then uncomment the following two
|
||||||
# settings to better secure the cookies from security exploits
|
# settings to better secure the cookies from security exploits
|
||||||
|
|
Loading…
Reference in New Issue