ansible-roles/nextcloud/templates/php-fpm.conf.j2
Jérémy Lecour 28be7d1218 nextcloud: intall one instance at a time
* introduce many variable with sensible defaults
* generate an admin password if none is provided (default)
* execute occ commands as unprivileged user
2018-03-29 08:35:26 +02:00

21 lines
566 B
Django/Jinja

[{{ nextcloud_instance_name }}]
user = {{ nextcloud_user }}
group = {{ nextcloud_user }}
listen = /run/php/php7.0-fpm-{{ nextcloud_instance_name }}.sock
listen.owner = {{ nextcloud_user }}
listen.group = {{ nextcloud_user }}
pm = ondemand
pm.max_children = 100
pm.process_idle_timeout = 10s
pm.status_path = /fpm_status
request_terminate_timeout = 60s
chdir = {{ nextcloud_webroot }}
env[HOSTNAME] = $HOSTNAME
env[PATH] = /usr/local/bin:/usr/bin:/bin
env[TMP] = {{ nextcloud_home }}/tmp
env[TMPDIR] = {{ nextcloud_home }}/tmp
env[TEMP] = {{ nextcloud_home }}/tmp