From d19ca7bf09e3f095e33480d61601990eaec1ed94 Mon Sep 17 00:00:00 2001 From: rungeard Date: Thu, 13 May 2021 17:41:37 +0200 Subject: [PATCH] some tests --- 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 740cd99..f659763 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -13,7 +13,7 @@ location __PATH__/ { index example-singleServer-full.html index.php; # Common parameter to increase upload size limit in conjunction with dedicated php-fpm file - client_max_body_size 1G; + client_max_body_size 256M; try_files $uri $uri/ /index.php; location ~ [^/]\.php(/|$) { diff --git a/conf/php-fpm.conf b/conf/php-fpm.conf index 120b431..55f4bac 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] = 1G -php_admin_value[post_max_size] = 1G +php_admin_value[upload_max_filesize] = 256M +php_admin_value[post_max_size] = 256M ; php_admin_flag[mail.add_x_header] = Off ; Other common parameters