From 365bd8b5bcd105662bc49a31d9bdfa7bfc6b55cb Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 27 Jan 2025 16:11:30 -0600 Subject: Increase the allowed size of the client request body. Some request (e.g. for mapping) from GN2 can get big, depending on the trait(s) in use. This commit increases the maximum allowed size for the client body to allow bigger requests. --- genenetwork/services/genenetwork.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/genenetwork/services/genenetwork.scm b/genenetwork/services/genenetwork.scm index b863bcf..f723c47 100644 --- a/genenetwork/services/genenetwork.scm +++ b/genenetwork/services/genenetwork.scm @@ -526,7 +526,8 @@ a @code{} record." (number->string gn2-port) ";") "proxy_set_header Host $host;" "proxy_read_timeout 20m;" - "proxy_set_header X-Forwarded-Proto $scheme;"))) + "proxy_set_header X-Forwarded-Proto $scheme;" + "client_max_body_size 8050m;"))) (nginx-location-configuration (uri "/api3/") (body (list "rewrite /api3/(.*) /api/$1 break;" -- cgit 1.4.1