From 398687fad0fc8eb9f6d1ac19e2606af40e773c36 Mon Sep 17 00:00:00 2001 From: Danny Avila <110412045+danny-avila@users.noreply.github.com> Date: Wed, 22 Nov 2023 19:07:01 -0500 Subject: [PATCH] fix: Increase client_max_body_size for larger file uploads through nginx (#1210) --- client/nginx.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/nginx.conf b/client/nginx.conf index 455979aa16..7a64fb0f65 100644 --- a/client/nginx.conf +++ b/client/nginx.conf @@ -7,6 +7,10 @@ server { server_name localhost; + # Increase the client_max_body_size to allow larger file uploads + # The default limits for image uploads as of 11/22/23 is 20MB/file, and 25MB/request + client_max_body_size 25M; + location /api { proxy_pass http://api:3080/api; }