summaryrefslogtreecommitdiff
path: root/openstack/etc/horizon
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-02-24 12:30:08 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-03-05 22:28:10 +0000
commit1c6b5196124208aab4258d43c6e12ca2135cd3a8 (patch)
treea32aea03e111c8e84a863fd9f255332d32efae60 /openstack/etc/horizon
parent00f34acda059c27215aa83dc7afe59752317831b (diff)
downloaddefinitions-1c6b5196124208aab4258d43c6e12ca2135cd3a8.tar.gz
Collect statics for horizon and move install commands to the chunk
Collecting the static files (css, js, png, ...) for horizon, compressing them and storing them in a folder accessible by horizon, fixes the problem when some css are not found and improves loading and navigating the pages.
Diffstat (limited to 'openstack/etc/horizon')
-rw-r--r--openstack/etc/horizon/apache-horizon.conf6
1 files changed, 3 insertions, 3 deletions
diff --git a/openstack/etc/horizon/apache-horizon.conf b/openstack/etc/horizon/apache-horizon.conf
index e51fbd17..1b0b3fe3 100644
--- a/openstack/etc/horizon/apache-horizon.conf
+++ b/openstack/etc/horizon/apache-horizon.conf
@@ -1,6 +1,6 @@
<VirtualHost *:80>
- WSGIScriptAlias /horizon /var/lib/horizon/django.wsgi
- WSGIDaemonProcess horizon user=horizon group=horizon processes=3 threads=10 home=/var/lib/horizon display-name=horzion
+ WSGIScriptAlias /horizon /var/lib/horizon/openstack_dashboard/django.wsgi
+ WSGIDaemonProcess horizon user=horizon group=horizon processes=3 threads=10 home=/var/lib/horizon display-name=horizon
WSGIApplicationGroup %{GLOBAL}
SetEnv APACHE_RUN_USER apache
@@ -10,7 +10,7 @@
DocumentRoot /var/lib/horizon/.blackhole
Alias /static /var/lib/horizon/openstack_dashboard/static
- <Directory "/var/lib/horizon" >
+ <Directory /var/lib/horizon/openstack_dashboard >
Options Indexes FollowSymLinks MultiViews
AllowOverride None
# Apache 2.4 uses mod_authz_host for access control now (instead of