Fix ALLOWED_HOSTS
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-haproxy_server/+/846473 Change-Id: Ia9fa3341dfa1386501bf74a558e418414a58fd1f
This commit is contained in:
parent
99f8b02ba0
commit
7db1f112ef
|
@ -41,7 +41,7 @@ LOGOUT_URL = '{{ horizon_logout_url }}'
|
||||||
# with the list of host/domain names that the application can serve.
|
# with the list of host/domain names that the application can serve.
|
||||||
# For more information see:
|
# For more information see:
|
||||||
# https://docs.djangoproject.com/en/dev/ref/settings/#allowed-hosts
|
# https://docs.djangoproject.com/en/dev/ref/settings/#allowed-hosts
|
||||||
ALLOWED_HOSTS = [ "{{ horizon_allowed_hosts | join(',') }}" ]
|
ALLOWED_HOSTS = {{ horizon_allowed_hosts | to_json }}
|
||||||
|
|
||||||
{% if (horizon_enable_ssl | bool) and (horizon_external_ssl | bool) %}
|
{% if (horizon_enable_ssl | bool) and (horizon_external_ssl | bool) %}
|
||||||
# Set SSL proxy settings:
|
# Set SSL proxy settings:
|
||||||
|
|
Loading…
Reference in New Issue