diff --git a/php-fpm/templates/php-fpm-pool.conf.j2 b/php-fpm/templates/php-fpm-pool.conf.j2 index c21fd84e..8501c125 100644 --- a/php-fpm/templates/php-fpm-pool.conf.j2 +++ b/php-fpm/templates/php-fpm-pool.conf.j2 @@ -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 }}'