Align ocata apache2 conf with package
Static assets are moved to /var/lib/openstack-dashboard/static/ and user/group is changed to www-data. Change-Id: Idd852152d8eb0a89fe09ec8d48bef7a74581fea6
This commit is contained in:
parent
6f34e1e8c7
commit
d98547f141
|
@ -1,12 +1,14 @@
|
|||
WSGIScriptAlias {{ webroot }} /usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi
|
||||
WSGIDaemonProcess horizon user=horizon group=horizon processes=3 threads=10
|
||||
WSGIDaemonProcess horizon user=www-data group=www-data processes=3 threads=10
|
||||
WSGIProcessGroup horizon
|
||||
{% if virtualenv %}
|
||||
WSGIPythonHome {{ virtualenv }}
|
||||
{% endif %}
|
||||
Alias /static /usr/share/openstack-dashboard/static/
|
||||
Alias /horizon/static /usr/share/openstack-dashboard/static/
|
||||
Alias /static /var/lib/openstack-dashboard/static/
|
||||
Alias /horizon/static /var/lib/openstack-dashboard/static/
|
||||
<Directory /usr/share/openstack-dashboard/openstack_dashboard/wsgi>
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
Require all granted
|
||||
</Directory>
|
||||
<Directory /var/lib/openstack-dashboard/static>
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
|
Loading…
Reference in New Issue