add pm_mode as env

This commit is contained in:
holzi1005 2025-02-28 15:39:17 +01:00
parent e0f21268b0
commit e989738aa6
2 changed files with 2 additions and 1 deletions

View file

@ -90,6 +90,7 @@ ENV nginx_root_directory=/var/www/html/public \
nginx_fastcgi_read_timeout=100 \
client_max_body_size=2M \
clear_env=no \
pm_mode=dynamic \
pm_start_servers=20 \
pm_min_spare_servers=10 \
pm_max_spare_servers=20 \

View file

@ -34,7 +34,7 @@ listen.group = nobody
pm.status_path = /fpm-status
; Ondemand process manager
pm = dynamic
pm = $pm_mode
; The number of child processes to be created when pm is set to 'static' and the
; maximum number of child processes when pm is set to 'dynamic' or 'ondemand'.