forked from finallycoffee/nextcloud
22 lines
560 B
Django/Jinja
22 lines
560 B
Django/Jinja
[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.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
|