collection.dockerfile/alpine/fpmredis/fpm-www.conf

24 lines
894 B
Plaintext
Raw Normal View History

2022-01-17 15:56:05 +08:00
[www]
user = xfs
group = xfs
listen = 0.0.0.0:9000
pm = dynamic
pm.max_children = 50
pm.start_servers = 10
pm.min_spare_servers = 10
pm.max_spare_servers = 20
pm.process_idle_timeout = 20s
pm.max_requests = 500
php_admin_flag[log_errors] = on
php_admin_value[error_log] = /var/log/fpm-$pool.error.log
php_admin_value[disable_functions] = pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignal
php_admin_value[memory_limit] = 512M
php_admin_value[upload_max_filesize] = 800M
php_admin_value[post_max_size] = 850M
; needed by nextcloud
env[HOSTNAME] = $HOSTNAME
env[PATH] = /usr/local/bin:/usr/bin:/bin
env[TMP] = /tmp
env[TMPDIR] = /tmp
env[TEMP] = /tmp