From 66746dc3773dae6c35f9572e799ad6653c7bc882 Mon Sep 17 00:00:00 2001 From: Sasi Olin Date: Apr 05 2021 16:59:25 +0000 Subject: Add redirect from /archive/ --- diff --git a/pillar/role/mailman3.sls b/pillar/role/mailman3.sls index b1deb88..27f4b69 100644 --- a/pillar/role/mailman3.sls +++ b/pillar/role/mailman3.sls @@ -50,6 +50,8 @@ nginx: - rewrite: ^(.*)$ $feeds_rewrite:map permanent - if ($mboxs_rewrite:map): - rewrite: ^(.*)$ $mboxs_rewrite:map permanent + - location /archive/: + - return: 301 /archives/ - location /cgi-bin/search.cgi: - return: 301 /archives/search - location /stats: