diff --git a/conf/nginx.conf b/conf/nginx.conf index 6bc48d6..f997658 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,6 +1,6 @@ location __PATH__ { alias __FINALPATH__/; - client_max_body_size 10G; + client_max_body_size 1G; index index.php; default_type text/html; location ~ [^/]\.php(/|$) { diff --git a/conf/php-fpm.ini b/conf/php-fpm.ini new file mode 100644 index 0000000..c3d888a --- /dev/null +++ b/conf/php-fpm.ini @@ -0,0 +1,7 @@ +; Common values to change to increase file upload limit +upload_max_filesize = 1G +post_max_size = 1G + +; Other common parameters +max_execution_time = 600 +max_input_time = 300