summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-03-26 16:32:22 +0000
committerRichard Ipsum <richardipsum@fastmail.co.uk>2015-04-10 20:17:46 +0100
commit6cf6a30602a9d558fcc165b448562bbc855d4b5d (patch)
treec8df0b3607b563256e34b54f7475292322764e22
parent5d98d398a3f20a89aae326356704f7c489bcee8f (diff)
downloaddefinitions-6cf6a30602a9d558fcc165b448562bbc855d4b5d.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