From 1e4e579cee5a9e74d8262afe4d7a01d1b86a840e Mon Sep 17 00:00:00 2001 From: Harry Tung Date: Tue, 30 Apr 2024 10:30:42 -0700 Subject: [PATCH 1/2] Increased file size limit to 10MB --- configs/nginx.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/nginx.conf b/configs/nginx.conf index 81d9ef81..79b1bfc4 100644 --- a/configs/nginx.conf +++ b/configs/nginx.conf @@ -5,6 +5,7 @@ events { http { server { listen 6717; + client_max_body_size 10M; location / { proxy_pass http://localhost:6718; From b41eed1d398ab1f59f242fec1dda303a61044334 Mon Sep 17 00:00:00 2001 From: Harry Tung Date: Tue, 30 Apr 2024 10:39:30 -0700 Subject: [PATCH 2/2] Added comment Co-authored-by: Tyler Romero --- configs/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/nginx.conf b/configs/nginx.conf index 79b1bfc4..403d4590 100644 --- a/configs/nginx.conf +++ b/configs/nginx.conf @@ -5,7 +5,7 @@ events { http { server { listen 6717; - client_max_body_size 10M; + client_max_body_size 10M; # a bit more than enough for a large json of a 14MP image location / { proxy_pass http://localhost:6718;