From c6caab36b68fa5c8cdfd2e36561176bd0f37fced Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 23 Jul 2021 07:15:34 +0200 Subject: [PATCH] Fix --- conf/nginx.conf | 2 +- conf/php-fpm.conf | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 12dcb72..8ed74b8 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -11,7 +11,7 @@ location __PATH__/ { index index.html index.php; # Common parameter to increase upload size limit in conjuction with dedicated php-fpm file - #client_max_body_size 50M; + client_max_body_size 50M; try_files $uri $uri/ @__APP__; diff --git a/conf/php-fpm.conf b/conf/php-fpm.conf index 0252212..c456af0 100644 --- a/conf/php-fpm.conf +++ b/conf/php-fpm.conf @@ -419,8 +419,8 @@ chdir = __FINALPATH__ ;php_admin_value[memory_limit] = 32M ; Common values to change to increase file upload limit -; php_admin_value[upload_max_filesize] = 50M -; php_admin_value[post_max_size] = 50M +php_admin_value[upload_max_filesize] = 50M +php_admin_value[post_max_size] = 50M ; php_admin_flag[mail.add_x_header] = Off ; Other common parameters @@ -428,4 +428,4 @@ chdir = __FINALPATH__ ; php_admin_value[max_input_time] = 300 ; php_admin_value[memory_limit] = 256M ; php_admin_flag[short_open_tag] = On -php_admin_value[date.timezone] = __TIMEZONE__ \ No newline at end of file +php_admin_value[date.timezone] = __TIMEZONE__