summaryrefslogtreecommitdiffstats
path: root/roles/webmail/files/etc/php
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2020-05-17 04:25:36 +0200
committerGuilhem Moulin <guilhem@fripost.org>2020-05-17 05:21:32 +0200
commitaba1438a4d188ae4ba20d2ee264212622809afd1 (patch)
treef7bd11478c4578d7e70f7bca74e9233f7ca5b65c /roles/webmail/files/etc/php
parent2d30ef24b25d145b0fa827b7b458583996a04760 (diff)
Roundcube: Port to Debian 10.
We use the version from buster-backports (currently 1.4.4+dfsg.1-1~bpo10+1) for the elastic theme.
Diffstat (limited to 'roles/webmail/files/etc/php')
-rw-r--r--roles/webmail/files/etc/php/fpm/pool.d/roundcube.conf22
1 files changed, 22 insertions, 0 deletions
diff --git a/roles/webmail/files/etc/php/fpm/pool.d/roundcube.conf b/roles/webmail/files/etc/php/fpm/pool.d/roundcube.conf
new file mode 100644
index 0000000..1512d66
--- /dev/null
+++ b/roles/webmail/files/etc/php/fpm/pool.d/roundcube.conf
@@ -0,0 +1,22 @@
+[roundcube]
+user = _roundcube
+group = nogroup
+listen = /run/php/php7.3-fpm@roundcube.sock
+listen.owner = www-data
+listen.group = www-data
+listen.mode = 0600
+pm = dynamic
+pm.max_children = 5
+pm.start_servers = 2
+pm.min_spare_servers = 1
+pm.max_spare_servers = 3
+
+php_value[upload_max_filesize] = 25M
+php_value[post_max_size] = 30M
+php_value[memory_limit] = 64M
+php_value[session.gc_maxlifetime] = 21600
+php_value[session.gc_divisor] = 500
+php_value[session.gc_probability] = 1
+
+php_admin_value[upload_tmp_dir] = /var/lib/roundcube/temp
+php_admin_value[open_basedir] = /var/lib/roundcube:/usr/share/roundcube:/etc/roundcube:/var/log/roundcube:/usr/share/php:/usr/share/javascript:/usr/lib/nodejs:/usr/share/tinymce:/usr/share/misc/magic:/dev