diff --git a/conf/nginx.conf b/conf/nginx.conf index 0db689a..769b154 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -11,6 +11,8 @@ location __PATH__/ { index index.php; + client_max_body_size 10M; + if (!-e $request_filename) { rewrite ^ __PATH__/index.php last; } #try_files $uri $uri/ /bludit//bludit/index.php?$args; diff --git a/conf/php-fpm.conf b/conf/php-fpm.conf index ab1a471..340380b 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] = 10M +php_admin_value[post_max_size] = 10M ; php_admin_flag[mail.add_x_header] = Off ; Other common parameters