From 0a8a994da852df954d85597d441c93362b4cc616 Mon Sep 17 00:00:00 2001 From: Francisco Redondo Marchena Date: Tue, 24 Feb 2015 12:30:08 +0000 Subject: 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. --- openstack/etc/horizon/apache-horizon.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'openstack/etc/horizon/apache-horizon.conf') 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 @@ - 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 - + Options Indexes FollowSymLinks MultiViews AllowOverride None # Apache 2.4 uses mod_authz_host for access control now (instead of -- cgit v1.2.1