From 032859c8d9598c7c813d75442efcc3c1ada10b30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 5 Mar 2023 17:17:52 +0100 Subject: [PATCH] fix --- conf/extra_php-fpm.conf | 4 ++-- conf/nginx.conf | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/extra_php-fpm.conf b/conf/extra_php-fpm.conf index 5cc5dfd..700c37c 100644 --- a/conf/extra_php-fpm.conf +++ b/conf/extra_php-fpm.conf @@ -1,4 +1,4 @@ ; Additional php.ini defines, specific to this pool of workers. -;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 diff --git a/conf/nginx.conf b/conf/nginx.conf index c97bb9d..b28ef9b 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -7,7 +7,7 @@ location __PATH__/ { index index.php; # Common parameter to increase upload size limit in conjunction with dedicated php-fpm file - client_max_body_size 10M; + client_max_body_size 50M; if (!-e $request_filename) { rewrite ^ __PATH__/index.php last; }