Nextcloud: Configure phpfpm servers by host

This commit is contained in:
phil 2023-08-20 23:01:59 +02:00
parent d8b16f6e9a
commit 8b5eeb6ee1

View file

@ -4,10 +4,10 @@ error_log = ${FPM_ERROR_LOG}
[{{ item.user }}] [{{ item.user }}]
listen = ${FPM_SOCKET_PATH} listen = ${FPM_SOCKET_PATH}
pm = dynamic pm = dynamic
pm.max_children = 60 pm.max_children = {{ item.php.pm_max_children | default(nextcloud_pm_max_children ) }}
pm.start_servers = 10 pm.start_servers = {{ item.php.pm_start_servers | default(nextcloud_pm_start_servers) }}
pm.min_spare_servers = 10 pm.min_spare_servers = {{ item.php.pm_min_spare_servers | default(nextcloud_pm_min_spare_servers) }}
pm.max_spare_servers = 30 pm.max_spare_servers = {{ item.php.pm_max_spare_servers | default(nextcloud_pm_max_spare_servers) }}
pm.process_idle_timeout = 10s pm.process_idle_timeout = 10s
pm.max_requests = 200 pm.max_requests = 200
pm.status_path = /status pm.status_path = /status