[www] user = www-data group = www-data {% if nextcloud_socket_path is defined and nextcloud_socket_path is string %} listen = {{ nextcloud_container_php_socket_path }}/{{ nextcloud_container_name }}.sock listen.owner = www-data listen.group = www-data listen.mode = 0666 {% else %} ;listen = 0.0.0.0:9000 {% endif %} pm = dynamic pm.max_children = {{ nextcloud_fpm_max_children }} pm.start_servers = {{ nextcloud_fpm_start_servers }} pm.min_spare_servers = {{ nextcloud_fpm_min_spare_servers }} pm.max_spare_servers = {{ nextcloud_fpm_max_spare_servers }} ;pm.max_requests=500