mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-07-01 14:45:38 +00:00
add ability to set php-workers/servers/children
This commit is contained in:
@ -5,10 +5,10 @@ error_log = /php/logs/error.log
|
||||
[www]
|
||||
listen = /php/run/php-fpm.sock
|
||||
pm = dynamic
|
||||
pm.max_children = 15
|
||||
pm.start_servers = 2
|
||||
pm.min_spare_servers = 1
|
||||
pm.max_spare_servers = 6
|
||||
pm.max_children = <PHP_MAX_CHILDREN>
|
||||
pm.start_servers = <PHP_START_SERVERS>
|
||||
pm.min_spare_servers = <PHP_MIN_SPARE_SERVERS>
|
||||
pm.max_spare_servers = <PHP_MAX_SPARE_SERVERS>
|
||||
chdir = /
|
||||
request_terminate_timeout = 0
|
||||
env[PATH] = /usr/local/bin:/usr/bin:/bin
|
||||
|
Reference in New Issue
Block a user