Skip to content

Commit

Permalink
Allow overriding 'pm' in PHP-FPM's pool config
Browse files Browse the repository at this point in the history
  • Loading branch information
gutobenn committed Aug 19, 2024
1 parent c1f1162 commit 079c77c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions roles/wordpress-setup/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ robots_tag_header: "{{ item.value.robots_tag_header | default({}) }}"
robots_tag_header_enabled: "{{ robots_tag_header.enabled | default(not_prod) }}"

# PHP FPM
php_fpm_pm: 'dynamic'
php_fpm_pm_max_children: 10
php_fpm_pm_start_servers: 1
php_fpm_pm_min_spare_servers: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ listen.owner = www-data
listen.group = www-data
user = {{ web_user }}
group = {{ web_group }}
pm = dynamic
pm = {{ php_fpm_pm }}
pm.max_children = {{ php_fpm_pm_max_children }}
pm.start_servers = {{ php_fpm_pm_start_servers }}
pm.min_spare_servers = {{ php_fpm_pm_min_spare_servers }}
Expand Down

0 comments on commit 079c77c

Please sign in to comment.