library/roles/php-fpm/templates/php-fpm-pool.conf.j2: Add the possibility to increase the upload_max_filesize value for each fpm pool.

This commit is contained in:
Andrea Dell'Amico 2016-09-18 17:01:40 +02:00
parent 0fc3c80165
commit f901bbb1bd
1 changed files with 3 additions and 1 deletions

View File

@ -286,7 +286,9 @@ php_flag[display_errors] = {{ item.display_errors }}
php_admin_value[error_log] = {{ phpfpm_logdir }}/$pool-error.log
php_admin_flag[log_errors] = {{ item.log_errors }}
php_admin_value[memory_limit] = {{ item.memory_limit }}
{% if item.upload_max_filesize is defined %}
php_admin_value[upload_max_filesize] = {{ item.upload_max_filesize }}
{% endif %}
; Set session path to a directory owned by process user
{% if item.session_save_handler is defined %}
php_value[session.save_handler] = '{{ item.session_save_handler }}'