blob: 514382bf6b47a62e3fbbe24cc07b03b1d4bb7820 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
[www-{{ item.key }}]
user = www-{{ item.key }}
group = www-{{ item.key }}
listen = /run/php/php{{ item.value.php_version }}-fpm.www-{{ item.key }}.sock
listen.owner = www-{{ item.key }}
listen.group = www-{{ item.key }}
listen.mode = 0600
pm = dynamic
pm.max_children = {{ item.value.fpm.max_children | default("5") }}
pm.start_servers = {{ item.value.fpm.start_servers | default("2") }}
pm.min_spare_servers = {{ item.value.fpm.min_spare_servers | default("1") }}
pm.max_spare_servers = {{ item.value.fpm.max_spare_servers | default("3") }}
{{ item.value.php_custom_conf | default("") }}
|