Merge pull request #4 from noskovao/master
Fixes for Murano Dashboard
diff --git a/horizon/files/horizon_settings/_local_settings.py b/horizon/files/horizon_settings/_local_settings.py
index 06108cd..32b4779 100644
--- a/horizon/files/horizon_settings/_local_settings.py
+++ b/horizon/files/horizon_settings/_local_settings.py
@@ -122,7 +122,8 @@
{%- endif %}
{%- if app.murano_api is defined %}
-MURANO_API_URL = "http://{{ app.murano_api.host }}:{{ app.murano_api.port }}"
+MURANO_API_URL = "{{ app.murano_api.get('protocol', 'http') }}://{{ app.murano_api.host }}:{{ app.murano_api.port }}"
+MURANO_API_INSECURE = "{{ app.murano_api.get('insecure', 'False') }}"
SESSION_ENGINE = "django.contrib.sessions.backends.cache"
# TODO(majklk) make this configurable
MURANO_REPO_URL = 'http://storage.apps.openstack.org/'