From 2ccd1203423ea29cc7b8c462aa17e18981d32d60 Mon Sep 17 00:00:00 2001 From: David Lyle Date: Mon, 21 Nov 2016 22:16:17 +0000 Subject: [PATCH] Revert "Always set ALLOWED_HOSTS for horizon" This reverts commit 37f48f3c208de1031ef4589d15194c4079ad4a97. Change-Id: I8c853c35c5b0b61925c27b461ad625266381f73b --- lib/horizon | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/horizon b/lib/horizon index 50896503a1..78cbe8b58d 100644 --- a/lib/horizon +++ b/lib/horizon @@ -97,11 +97,6 @@ function configure_horizon { _horizon_config_set $local_settings "" OPENSTACK_API_VERSIONS {\"identity\":3} _horizon_config_set $local_settings "" OPENSTACK_KEYSTONE_URL "\"${KEYSTONE_SERVICE_URI}/v3\"" - # note(trebskit): if HOST_IP points at non-localhost ip address, horizon cannot be accessed - # from outside the virtual machine. This fixes is meant primarily for local development - # purpose - _horizon_config_set $local_settings "" ALLOWED_HOSTS [\"$HOST_IP\"] - if [ -f $SSL_BUNDLE_FILE ]; then _horizon_config_set $local_settings "" OPENSTACK_SSL_CACERT \"${SSL_BUNDLE_FILE}\" fi