diff --git a/conf/extra_php-fpm.conf b/conf/extra_php-fpm.conf new file mode 100644 index 0000000..940d2b8 --- /dev/null +++ b/conf/extra_php-fpm.conf @@ -0,0 +1,4 @@ +; Additional php.ini defines, specific to this pool of workers. + +php_admin_value[upload_max_filesize] = 10M +php_admin_value[post_max_size] = 10M diff --git a/conf/nginx.conf b/conf/nginx.conf index 0a0c9f4..b8915c4 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -8,7 +8,7 @@ location __PATH__/ { index index.php; # Common parameter to increase upload size limit in conjunction with dedicated php-fpm file - #client_max_body_size 50M; + client_max_body_size 10M; try_files $uri $uri/ /index.php?$query_string; location ~ [^/]\.php(/|$) {