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
This commit is contained in:
parent
70265d3476
commit
60439d897d
@ -16,7 +16,11 @@ Listen {{ api_interface_address }}:{{ horizon_port }}
|
||||
Require all granted
|
||||
</Location>
|
||||
|
||||
{% if kolla_base_distro == 'ubuntu' and kolla_install_type == 'binary' %}
|
||||
Alias /static /var/lib/openstack-dashboard/static
|
||||
{% else %}
|
||||
Alias /static {{ python_path }}/static
|
||||
{% endif %}
|
||||
<Location "/static">
|
||||
SetHandler None
|
||||
</Location>
|
||||
|
Loading…
Reference in New Issue
Block a user