diff --git a/conf/nginx_no_php.conf b/conf/nginx_no_php.conf index 39a4573..e0eacb3 100644 --- a/conf/nginx_no_php.conf +++ b/conf/nginx_no_php.conf @@ -4,6 +4,9 @@ location __PATH__/ { # Path to source alias __FINALPATH__/www/; + # Common parameter to increase upload size limit in conjunction with dedicated PHP-FPM file + #client_max_body_size 1G; + # Default indexes and catch-all index index.html index.php; try_files $uri $uri/ __PATH__/index.php?$args; diff --git a/conf/nginx_with_php.conf b/conf/nginx_with_php.conf index 723df1b..a2367c5 100644 --- a/conf/nginx_with_php.conf +++ b/conf/nginx_with_php.conf @@ -4,6 +4,9 @@ location __PATH__/ { # Path to source alias __FINALPATH__/www/; + # Common parameter to increase upload size limit in conjunction with dedicated PHP-FPM file + #client_max_body_size 1G; + # Default indexes and catch-all index index.html index.php; try_files $uri $uri/ __PATH__/index.php?$args;