2021-10-13 13:46:46 +00:00
|
|
|
[www]
|
|
|
|
|
|
|
|
user = www-data
|
|
|
|
group = www-data
|
|
|
|
|
2021-10-24 10:38:43 +00:00
|
|
|
{% if nextcloud_socket_path is defined and nextcloud_socket_path is string %}
|
2022-05-29 07:47:40 +00:00
|
|
|
listen = {{ nextcloud_container_php_socket_path }}/{{ nextcloud_container_name }}.sock
|
2021-10-24 10:38:43 +00:00
|
|
|
listen.owner = www-data
|
|
|
|
listen.group = www-data
|
|
|
|
listen.mode = 0666
|
|
|
|
{% else %}
|
|
|
|
;listen = 0.0.0.0:9000
|
|
|
|
{% endif %}
|
2021-10-13 13:46:46 +00:00
|
|
|
|
|
|
|
pm = dynamic
|
2021-10-17 19:03:17 +00:00
|
|
|
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 }}
|
2021-10-13 13:46:46 +00:00
|
|
|
|
|
|
|
;pm.max_requests=500
|