From 69348ed49be79a5d20f79920685ce0433904fcf5 Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Mon, 9 May 2022 20:58:19 +0200 Subject: [PATCH] mailman: default to mailman3 web interface --- roles/mail/templates/nginx/vhost.j2 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/roles/mail/templates/nginx/vhost.j2 b/roles/mail/templates/nginx/vhost.j2 index 70aa0b4..1926459 100644 --- a/roles/mail/templates/nginx/vhost.j2 +++ b/roles/mail/templates/nginx/vhost.j2 @@ -15,7 +15,7 @@ server { } location = / { - rewrite ^ /listinfo permanent; + rewrite ^ /mailman3 redirect; } location / { @@ -27,6 +27,10 @@ server { fastcgi_param PATH_INFO $fastcgi_path_info; } + location = /listinfo { + rewrite ^ /mailman3 redirect; + } + location /images/mailman { alias /usr/share/images/mailman; }