summaryrefslogtreecommitdiff
path: root/openstack/etc/horizon/apache-horizon.conf
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-02-24 12:30:08 +0000
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-02-27 11:14:57 +0000
commit8a2ec263340dc8dd797241536016096ff225ceb3 (patch)
tree4df310c24c54360c5ac47b6327249ba7aeecdb22 /openstack/etc/horizon/apache-horizon.conf
parenta57e13db3d820795d6ad4cbdc3aab8f96619d703 (diff)
downloaddefinitions-8a2ec263340dc8dd797241536016096ff225ceb3.tar.gz
Collect statics for horizon and move install commands to the chunkbaserock/franred/create-statics-for-horizon
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/apache-horizon.conf')
-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