mirror of
https://github.com/HackPlan/RootPanel.git
synced 2026-04-23 19:21:04 +08:00
phpfpm config file
This commit is contained in:
23
plugin/phpfpm/template/fpm-pool.conf
Normal file
23
plugin/phpfpm/template/fpm-pool.conf
Normal file
@@ -0,0 +1,23 @@
|
||||
[<%= account.username %>]
|
||||
|
||||
user = <%= account.username %>
|
||||
group = <%= account.username %>
|
||||
|
||||
listen = /home/<%= account.username %>/php-fpm.sock
|
||||
|
||||
listen.owner = <%= account.username %>
|
||||
listen.group = <%= account.username %>
|
||||
listen.mode = 0660
|
||||
|
||||
pm = ondemand
|
||||
pm.max_children = 3
|
||||
pm.process_idle_timeout = 10s
|
||||
pm.max_requests = 500
|
||||
|
||||
slowlog = /home/<%= account.username %>/php-fpm.slowlog
|
||||
request_slowlog_timeout = 5s
|
||||
request_terminate_timeout = 15s
|
||||
|
||||
php_admin_value[memory_limit] = 128M
|
||||
php_admin_value[error_log] = /home/<%= account.username %>/php-fpm.error_log
|
||||
php_admin_flag[log_errors] = Off
|
||||
Reference in New Issue
Block a user