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