summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Dittberner <jandd@cacert.org>2020-05-13 23:17:31 +0200
committerJan Dittberner <jandd@cacert.org>2020-05-13 23:17:31 +0200
commit8e518f75f6badea75adc3435f8cb595a72938809 (patch)
tree4c782e8063a75f238a59663db167c8b1f0ea6b84
parent54b2b97a07f9e6a104d1d70a667cb3e47a4ef226 (diff)
downloadcacert-puppet-8e518f75f6badea75adc3435f8cb595a72938809.tar.gz
cacert-puppet-8e518f75f6badea75adc3435f8cb595a72938809.tar.xz
cacert-puppet-8e518f75f6badea75adc3435f8cb595a72938809.zip
Disable docroot management for http
-rw-r--r--sitemodules/profiles/manifests/roundcube.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/sitemodules/profiles/manifests/roundcube.pp b/sitemodules/profiles/manifests/roundcube.pp
index 30ac4ee..9a744a9 100644
--- a/sitemodules/profiles/manifests/roundcube.pp
+++ b/sitemodules/profiles/manifests/roundcube.pp
@@ -239,6 +239,7 @@ class profiles::roundcube (
default_vhost => false,
default_ssl_vhost => false,
mpm_module => 'prefork',
+ server_signature => 'Off',
}
class { 'apache::mod::php': }
apache::vhost { "${external_name}-http":
@@ -249,6 +250,8 @@ class profiles::roundcube (
error_log => true,
log_level => 'warn',
serveradmin => 'webmail-admin@cacert.org',
+ docroot => false,
+ manage_docroot => false,
redirect_source => ['/'],
redirect_dest => ["https://${external_name}/"],
redirect_status => ['permanent'],
@@ -261,6 +264,7 @@ class profiles::roundcube (
access_log => true,
access_log_format => 'combined',
error_log => true,
+ serveradmin => 'webmail-admin@cacert.org',
ssl => true,
ssl_cert => $apache_ssl_cert,
ssl_key => $apache_ssl_key,