From f6c389cfc46375d207b24d132959e147d3f6f51a Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Thu, 6 Dec 2018 15:55:41 -0500 Subject: Switch to LE for the ml list --- roles/mailman/templates/vhost.conf | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) (limited to 'roles/mailman/templates') diff --git a/roles/mailman/templates/vhost.conf b/roles/mailman/templates/vhost.conf index bd2f01e..8e4de27 100644 --- a/roles/mailman/templates/vhost.conf +++ b/roles/mailman/templates/vhost.conf @@ -1,14 +1,7 @@ -{% for i in '80', '443' %} - + + DirectoryIndex listinfo + - - DirectoryIndex listinfo - +RedirectMatch ^/$ /mailman/ - RedirectMatch ^/$ /mailman/ - - RedirectMatch ^/mailman[/]*$ /mailman/listinfo - ServerName {{ website_url | default( ansible_hostname ) }} - - -{% endfor %} +RedirectMatch ^/mailman[/]*$ /mailman/listinfo -- cgit