X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/faf8ae12e85eabb050b0f5eceb2cb67ad1de5261..4ffc2ea14e4ca0db54934cd79551446528bf3c26:/cookbooks/mailman/templates/default/apache.erb
diff --git a/cookbooks/mailman/templates/default/apache.erb b/cookbooks/mailman/templates/default/apache.erb
index 396bcd56d..2262c3fa2 100644
--- a/cookbooks/mailman/templates/default/apache.erb
+++ b/cookbooks/mailman/templates/default/apache.erb
@@ -1,10 +1,22 @@
# DO NOT EDIT - This file is being maintained by Chef
+ ServerName <%= @name %>
+ ServerAdmin postmaster@openstreetmap.org
+
+ CustomLog /var/log/apache2/<%= @name %>-access.log combined
+ ErrorLog /var/log/apache2/<%= @name %>-error.log
+
+ RedirectPermanent / https://<%= @name %>/
+
+
+
ServerName <%= @name %>
ServerAdmin postmaster@openstreetmap.org
ServerSignature On
+ SSLEngine on
+
CustomLog /var/log/apache2/<%= @name %>-access.log combined
ErrorLog /var/log/apache2/<%= @name %>-error.log
LogLevel warn
@@ -24,6 +36,7 @@
Options Indexes FollowSymLinks
AllowOverride None
+ Require all granted
Alias /pipermail/ /var/lib/mailman/archives/public/
@@ -42,7 +55,7 @@
ScriptAlias /subscribe /usr/lib/cgi-bin/mailman/subscribe
ScriptAlias /mailman/ /usr/lib/cgi-bin/mailman/
-
+
ExpiresActive On
ExpiresDefault "access plus 180 days"