diff --git a/templates/horizon_local_settings.py.j2 b/templates/horizon_local_settings.py.j2 index fd8f59e4..f74e3990 100644 --- a/templates/horizon_local_settings.py.j2 +++ b/templates/horizon_local_settings.py.j2 @@ -50,6 +50,7 @@ ALLOWED_HOSTS = [ "{{ horizon_allowed_hosts | join(',') }}" ] # For more information see: # https://docs.djangoproject.com/en/1.4/ref/settings/#secure-proxy-ssl-header SECURE_PROXY_SSL_HEADER = ('{{ horizon_secure_proxy_ssl_header_django }}', 'https') +SECURE_PROXY_ADDR_HEADER = 'HTTP_X_FORWARDED_FOR' {% endif %} {% if horizon_enable_ssl | bool %}