From 7d357d5e64bf95de9953a34f60c9bc25f4413d57 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 17 May 2022 17:00:58 +0200 Subject: [PATCH] Fix --- conf/nginx.conf | 2 ++ conf/php-fpm.conf | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index f4c59bf..c2b43ab 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -5,6 +5,8 @@ location / { index index.php; + client_max_body_size 500M; + try_files $uri $uri/ __PATH__/__PATH__/index.php?$query_string; location ~ \.php$ { diff --git a/conf/php-fpm.conf b/conf/php-fpm.conf index ab1a471..573704e 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] = 500M +php_admin_value[post_max_size] = 500M ; php_admin_flag[mail.add_x_header] = Off ; Other common parameters