From ee58290fdb9063f3136ee1a15e60939b70f8a867 Mon Sep 17 00:00:00 2001 From: Michal Konecny Date: Thu, 28 Mar 2024 16:25:40 +0100 Subject: [PATCH] [mailman3] Redirect to hyperkitty if nothing is specified Signed-off-by: Michal Konecny --- roles/mailman3/templates/mailmanweb.conf.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/mailman3/templates/mailmanweb.conf.j2 b/roles/mailman3/templates/mailmanweb.conf.j2 index 3852797232..499e1901a4 100644 --- a/roles/mailman3/templates/mailmanweb.conf.j2 +++ b/roles/mailman3/templates/mailmanweb.conf.j2 @@ -20,6 +20,10 @@ ProxyPass /pipermail ! ProxyPass / http://127.0.0.1:8000/ ProxyPassReverse / http://127.0.0.1:8000/ +# Redirecting to hyperkitty if nothing is specified +RewriteEngine on +RewriteRule ^/$ /archives [R,L] + # Old static archives Alias /pipermail/ {{ mailman_webui_basedir }}/old-archives/pipermail/