summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-03-26 16:32:22 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-03-27 16:12:59 +0000
commit66c9511cab76c24e52714dd0232533999539270e (patch)
treed3e6320db61b549f381bee084ccc1f9d7cd1a5ca
parentf5318857153f03ad80340a17d45118e1756fcd69 (diff)
downloaddefinitions-66c9511cab76c24e52714dd0232533999539270e.tar.gz
horizon: configure apache-horizon.conf to redirect / to /horizon
This will make the experience more pleasant
-rw-r--r--openstack/etc/horizon/apache-horizon.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/openstack/etc/horizon/apache-horizon.conf b/openstack/etc/horizon/apache-horizon.conf
index 1b0b3fe3..ea88897a 100644
--- a/openstack/etc/horizon/apache-horizon.conf
+++ b/openstack/etc/horizon/apache-horizon.conf
@@ -3,6 +3,8 @@
WSGIDaemonProcess horizon user=horizon group=horizon processes=3 threads=10 home=/var/lib/horizon display-name=horizon
WSGIApplicationGroup %{GLOBAL}
+ RedirectMatch ^/$ /horizon/
+
SetEnv APACHE_RUN_USER apache
SetEnv APACHE_RUN_GROUP apache
WSGIProcessGroup horizon