Added php-FPM pool for backend services

This commit is contained in:
2020-07-17 14:18:23 +02:00
parent cb8b0fc014
commit 66de5c677e
4 changed files with 29 additions and 2 deletions

View File

@@ -0,0 +1,19 @@
[Backend]
user = Backend
group = Backend
listen = /var/run/php/phpPHPver-fpm-Backend.sock
listen.owner = www-data
listen.group = www-data
php_admin_value[disable_functions] = exec,passthru,shell_exec,system
php_admin_value[cgi.fix_pathinfo] = 0
php_admin_value[max_input_vars] = 10000
php_admin_value[upload_max_filesize] = 128M
php_admin_value[post_max_size] = 64m
php_admin_flag[allow_url_fopen] = off
pm = dynamic
pm.max_children = 5
pm.start_servers = 2
pm.min_spare_servers = 1
pm.max_spare_servers = 3
chdir = /