perf(): assets cache and php perf improvement

This commit is contained in:
Hardware
2018-05-06 13:21:48 +02:00
parent ed7144950b
commit f3e35c8c8a
3 changed files with 37 additions and 9 deletions

View File

@@ -1,13 +1,13 @@
[global]
daemonize = no
error_log = /tmp/php_error.log
[www]
listen = /tmp/php-fpm.sock
pm = dynamic
pm.max_children = 5
pm.start_servers = 2
pm.min_spare_servers = 1
pm.max_spare_servers = 3
pm = ondemand
pm.max_children = 30
pm.process_idle_timeout = 10s
pm.max_requests = 500
chdir = /
php_admin_value[expose_php] = Off
php_admin_value[post_max_size] = <UPLOAD_MAX_SIZE>