Fix ALLOWED_HOSTS

Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-haproxy_server/+/846473
Change-Id: Ia9fa3341dfa1386501bf74a558e418414a58fd1f
This commit is contained in:
Danila Balagansky 2022-06-06 12:26:10 +03:00 committed by Dmitriy Rabotyagov
parent 99f8b02ba0
commit 7db1f112ef
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ LOGOUT_URL = '{{ horizon_logout_url }}'
# with the list of host/domain names that the application can serve.
# For more information see:
# 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) %}
# Set SSL proxy settings: