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-10 10:55:33 +0000
commit8832c8bf72e8336ad4b6b62752c5f4ab87079470 (patch)
tree45965fc9a3207029803744ff4ebee1765980dccf
parente285b5ff760ac7fb48ec4c4f6603de703c3e18a6 (diff)
downloaddefinitions-8832c8bf72e8336ad4b6b62752c5f4ab87079470.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