From 410f10ed3c5a6e17d92541e5a211bae5283f53f3 Mon Sep 17 00:00:00 2001 From: Gardar Thorsteinsson Date: Wed, 28 Dec 2016 17:11:43 +0000 Subject: [PATCH] Added: Redirect root URL to /adagios --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 474f59a..a6225fe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -109,6 +109,9 @@ RUN pynag config --append cfg_dir=/etc/naemon/commands/ RUN mv /etc/httpd/conf.d/thruk_cookie_auth_vhost.conf /etc/httpd/conf.d/thruk_cookie_auth_vhost.conf.disabled +# Redirect root URL to /adagios +RUN echo "RedirectMatch ^/$ /adagios" > /etc/httpd/conf.d/redirect.conf + # Install supervisor and supervisor-quick. Service restarts are painfully slow # otherwise RUN pip install supervisor