summaryrefslogtreecommitdiffstats
path: root/roles/mailman/templates
diff options
context:
space:
mode:
authorMichael Scherer <misc@redhat.com>2018-12-06 15:55:41 -0500
committerMichael Scherer <misc@redhat.com>2018-12-06 15:55:41 -0500
commitf6c389cfc46375d207b24d132959e147d3f6f51a (patch)
tree86bac1acdb1c3f6b86d284ace3f69791dcb3fa8e /roles/mailman/templates
parentaae47d8deac02bdddd64f57778b08f695db1ffa0 (diff)
Switch to LE for the ml list
Diffstat (limited to 'roles/mailman/templates')
-rw-r--r--roles/mailman/templates/vhost.conf17
1 files changed, 5 insertions, 12 deletions
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' %}
-<VirtualHost *:{{ i }}>
+<Directory /usr/lib/mailman/cgi-bin/>
+ DirectoryIndex listinfo
+</Directory>
- <Directory /usr/lib/mailman/cgi-bin/>
- DirectoryIndex listinfo
- </Directory>
+RedirectMatch ^/$ /mailman/
- RedirectMatch ^/$ /mailman/
-
- RedirectMatch ^/mailman[/]*$ /mailman/listinfo
- ServerName {{ website_url | default( ansible_hostname ) }}
-
-</VirtualHost>
-{% endfor %}
+RedirectMatch ^/mailman[/]*$ /mailman/listinfo