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-04-08 15:46:37 +0000
commit39ce0476420f86c81f2ed4516dbf36205870d161 (patch)
tree38dabad9bc9f65c5ce28741498af83fc22ec380c
parent61b15ebe8b23fc28207c1f02b5aebcb035e6e604 (diff)
downloaddefinitions-39ce0476420f86c81f2ed4516dbf36205870d161.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