From 53c4d83da24321277326c889cf5a81454e0ed6ed Mon Sep 17 00:00:00 2001 From: Robles Rodolphe Date: Wed, 2 Jun 2021 20:09:09 +0200 Subject: [PATCH] try increase limit size upload files via php-fpm --- conf/nginx.conf | 2 +- conf/php-fpm.conf | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 6a8bd52..5a033e3 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -25,7 +25,7 @@ location __PATH__/ { } # Increase size limit - client_max_body_size 2M; + #client_max_body_size 2M; # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc; diff --git a/conf/php-fpm.conf b/conf/php-fpm.conf index 9be1163..53ef274 100644 --- a/conf/php-fpm.conf +++ b/conf/php-fpm.conf @@ -392,8 +392,8 @@ catch_workers_output = yes ;php_admin_value[memory_limit] = 32M ; Common values to change to increase file upload limit -; php_value[upload_max_filesize] = 50M -; php_value[post_max_size] = 50M +php_value[upload_max_filesize] = 50M +php_value[post_max_size] = 50M ; php_valuemail.add_x_header = Off ; Other common parameters