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-02 11:13:34 +0000
commit88a1d762359170e18cd4ae99e3c0becabf7916cb (patch)
tree3ccfaaae036968285d56498e5b45dc38caa16a0f
parent810e260da01a0850cf6dabba4bda38d634e902f1 (diff)
downloaddefinitions-88a1d762359170e18cd4ae99e3c0becabf7916cb.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