Skip to content
Snippets Groups Projects
Commit 60439d89 authored by Noboru Iwamatsu's avatar Noboru Iwamatsu
Browse files

fix horizon contents path for ubuntu/binary

The static contents directory path of the openstack-dashboard
provided by Ubuntu Cloud Archive is different from RDO's.
This fixes the horizon.conf template to set the correct alias
when ubuntu+binary are specified.

Change-Id: I1b0c04cecc66b42bf764aa035e7ec24c37d805e3
Closes-Bug: #1700712
parent 70265d34
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,11 @@ Listen {{ api_interface_address }}:{{ horizon_port }} ...@@ -16,7 +16,11 @@ Listen {{ api_interface_address }}:{{ horizon_port }}
Require all granted Require all granted
</Location> </Location>
{% if kolla_base_distro == 'ubuntu' and kolla_install_type == 'binary' %}
Alias /static /var/lib/openstack-dashboard/static
{% else %}
Alias /static {{ python_path }}/static Alias /static {{ python_path }}/static
{% endif %}
<Location "/static"> <Location "/static">
SetHandler None SetHandler None
</Location> </Location>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment