diff --git a/templates/ocata/openstack-dashboard.conf b/templates/ocata/openstack-dashboard.conf index 93c6ddd4..f3d5c24c 100644 --- a/templates/ocata/openstack-dashboard.conf +++ b/templates/ocata/openstack-dashboard.conf @@ -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/ - Order allow,deny - Allow from all + Require all granted + + + Require all granted