diff --git a/environment/dev/app/nginx.conf b/environment/dev/app/nginx.conf index 3edc4312..c52336f9 100644 --- a/environment/dev/app/nginx.conf +++ b/environment/dev/app/nginx.conf @@ -40,5 +40,7 @@ http { fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } + + client_max_body_size 2M; } } diff --git a/environment/prod/app/nginx.conf b/environment/prod/app/nginx.conf index c026d098..46c52ae8 100644 --- a/environment/prod/app/nginx.conf +++ b/environment/prod/app/nginx.conf @@ -40,5 +40,7 @@ http { fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } + + client_max_body_size 2M; } }