summaryrefslogtreecommitdiffstats
path: root/roles/nextcloud/files/etc/php/fpm/pool.d/nextcloud.conf
blob: eb92adb9bafe5071e32413b7cffc1c0fffef7b16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[nextcloud]
user = _nextcloud
group = nogroup
listen = /run/php/php7.3-fpm@nextcloud.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] = 512M
php_value[post_max_size]       = 512M
php_value[memory_limit]        = 512M

php_admin_value[open_basedir] = /usr/local/share/nextcloud:/var/www/nextcloud:/mnt/nextcloud-data:/etc/nextcloud:/var/cache/nextcloud:/var/log/nextcloud:/usr/share/php:/tmp:/dev

env[HOSTNAME] = $HOSTNAME
env[PATH] = /usr/bin:/bin
env[TMP] = /tmp
env[TMPDIR] = /tmp
env[TEMP] = /tmp