diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2015-05-21 14:44:07 +0000 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2015-05-21 14:44:07 +0000 |
commit | d7e6a27d323e3c7cbd08fc3576c25fb6f5d23b10 (patch) | |
tree | 4cd822b8f42e5d35736747f07fdfe30862749248 | |
parent | 8e6921b91ab6ac81325e898308d24c504ee54ea2 (diff) | |
download | definitions-d7e6a27d323e3c7cbd08fc3576c25fb6f5d23b10.tar.gz |
Horizon: Use real wsgi and not a copy, allow access to static/ files
-rw-r--r-- | openstack/etc/horizon/apache-horizon.conf | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/openstack/etc/horizon/apache-horizon.conf b/openstack/etc/horizon/apache-horizon.conf index ea88897a..b6104bd3 100644 --- a/openstack/etc/horizon/apache-horizon.conf +++ b/openstack/etc/horizon/apache-horizon.conf @@ -1,5 +1,5 @@ <VirtualHost *:80> - WSGIScriptAlias /horizon /var/lib/horizon/openstack_dashboard/django.wsgi + WSGIScriptAlias /horizon /var/lib/horizon/openstack_dashboard/wsgi/django.wsgi WSGIDaemonProcess horizon user=horizon group=horizon processes=3 threads=10 home=/var/lib/horizon display-name=horizon WSGIApplicationGroup %{GLOBAL} @@ -10,7 +10,11 @@ WSGIProcessGroup horizon DocumentRoot /var/lib/horizon/.blackhole - Alias /static /var/lib/horizon/openstack_dashboard/static + Alias /static /var/lib/horizon/static + + <Directory /var/lib/horizon/static> + Require all granted + </Directory> <Directory /var/lib/horizon/openstack_dashboard > Options Indexes FollowSymLinks MultiViews |