2020-06-05 11:30:15 +02:00
|
|
|
; {{ ansible_managed }}
|
|
|
|
|
|
|
|
[{{ item.pool_name | mandatory }}]
|
|
|
|
listen = {{ item.pool_listen | mandatory }}
|
|
|
|
listen.allowed_clients = {{ item.pool_listen_allowed_clients | default('127.0.0.1', true) }}
|
2016-05-19 16:07:12 +02:00
|
|
|
user = {{ php_fpm_pool_user }}
|
|
|
|
group = {{ php_fpm_pool_group }}
|
2016-03-07 04:06:46 +01:00
|
|
|
|
2019-06-20 00:56:25 +02:00
|
|
|
listen.owner = {{ php_fpm_pool_user }}
|
|
|
|
listen.group = {{ php_fpm_pool_group }}
|
|
|
|
|
2020-06-05 11:30:15 +02:00
|
|
|
pm = {{ item.pool_pm | default('dynamic', true) }}
|
|
|
|
pm.max_children = {{ item.pool_pm_max_children | default(50, true) }}
|
|
|
|
pm.start_servers = {{ item.pool_pm_start_servers | default(5, true) }}
|
|
|
|
pm.min_spare_servers = {{ item.pool_pm_min_spare_servers | default(5, true) }}
|
|
|
|
pm.max_spare_servers = {{ item.pool_pm_max_spare_servers | default(5, true) }}
|
|
|
|
pm.max_requests = {{ item.pool_pm_max_requests | default(500, true) }}
|